Skip to content

Commit 8c546e8

Browse files
Merge pull request googleapis#311 from dhermes/fix-test-gae-branch-miss
Fix App Engine test branch miss.
2 parents 3b6b4be + 8067bb1 commit 8c546e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_appengine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ def _finish_setup(self, decorator, user_mock):
497497
class TestRequiredHandler(webapp2.RequestHandler):
498498
@decorator.oauth_required
499499
def get(self):
500-
if decorator.has_credentials():
501-
parent.had_credentials = True
502-
parent.found_credentials = decorator.credentials
500+
parent.assertTrue(decorator.has_credentials())
501+
parent.had_credentials = True
502+
parent.found_credentials = decorator.credentials
503503
if parent.should_raise:
504504
raise Exception('')
505505

0 commit comments

Comments
 (0)