Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 41efa85

Browse filesBrowse files
Ace Nassriengelke
authored andcommitted
Delete unused region tags (GoogleCloudPlatform#1908)
1 parent 82a4a03 commit 41efa85
Copy full SHA for 41efa85

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎appengine/standard/localtesting/login_test.py

Copy file name to clipboardExpand all lines: appengine/standard/localtesting/login_test.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,27 @@
2020

2121

2222
class LoginTestCase(unittest.TestCase):
23-
# [START setup]
2423
def setUp(self):
2524
self.testbed = testbed.Testbed()
2625
self.testbed.activate()
2726
self.testbed.init_user_stub()
28-
# [END setup]
2927

3028
def tearDown(self):
3129
self.testbed.deactivate()
3230

33-
# [START login]
3431
def loginUser(self, email='user@example.com', id='123', is_admin=False):
3532
self.testbed.setup_env(
3633
user_email=email,
3734
user_id=id,
3835
user_is_admin='1' if is_admin else '0',
3936
overwrite=True)
40-
# [END login]
4137

42-
# [START test]
4338
def testLogin(self):
4439
self.assertFalse(users.get_current_user())
4540
self.loginUser()
4641
self.assertEquals(users.get_current_user().email(), 'user@example.com')
4742
self.loginUser(is_admin=True)
4843
self.assertTrue(users.is_current_user_admin())
49-
# [END test]
5044
# [END login_example]
5145

5246

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.