Fix tests in response to breakage in #351
This commit is contained in:
		
							parent
							
								
									2fd1d5969e
								
							
						
					
					
						commit
						4625ecf273
					
				
					 4 changed files with 14 additions and 7 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
|  | @ -51,3 +51,5 @@ class TestConfig(DefaultConfig): | |||
|   LICENSE_EXPIRATION_WARNING = datetime.now() + timedelta(weeks=520) | ||||
| 
 | ||||
|   FEATURE_GITHUB_BUILD = True | ||||
| 
 | ||||
|   CLOUDWATCH_NAMESPACE = None | ||||
|  |  | |||
		Reference in a new issue