Fix tests in response to breakage in #351

This commit is contained in:
Joseph Schorr 2015-08-17 16:26:20 -04:00
parent 2fd1d5969e
commit 4625ecf273
4 changed files with 14 additions and 7 deletions

View file

@ -2,13 +2,15 @@ import unittest
from endpoints.v1 import v1_bp
from endpoints.verbs import verbs
from app import app
class TestAnonymousAccessChecked(unittest.TestCase):
def verifyBlueprint(self, blueprint):
class Checker(object):
def __init__(self, test_case):
self.test_case = test_case
self.first_registration = True
self.app = app
def add_url_rule(self, rule, endpoint, view_function, methods=None):
if (not '__anon_protected' in dir(view_function) and