Skip to content

Commit 05fe36c

Browse files
committed
Add break after finding the test user
1 parent a0e0d52 commit 05fe36c

File tree

1 file changed

+1
-0
lines changed
  • test-http/src/test/user_tests

1 file changed

+1
-0
lines changed

test-http/src/test/user_tests/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_get_all_users():
1717
for user in json.loads(res.content.decode())['users']:
1818
if user['username'] == '[email protected]':
1919
test_user = user
20+
break
2021
assert test_user['username'] == '[email protected]'
2122
assert test_user['name']['first'] == 'Jeremy'
2223
assert '"secret"' not in res.content.decode() # check that no secrets are included

0 commit comments

Comments
 (0)