Skip to content

Commit 5211b58

Browse files
Fix bug of length check
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 5825588 commit 5211b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_login_success(self, register_user, login_user):
9191
assert 'access_token' in data
9292
assert 'refresh_token' in data
9393
assert len(data['access_token']) > 0
94-
assert len(['refresh_token']) > 0
94+
assert len(data['refresh_token']) > 0
9595

9696

9797
def test_login_invalid_password(self, register_user, login_user):

0 commit comments

Comments
 (0)