mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
improve test
This commit is contained in:
parent
e55fae50b8
commit
4c87e4ce68
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ def test_import(flask_client):
|
|||
|
||||
import_from_csv(batch_import, user, alias_data)
|
||||
|
||||
aliases = Alias.filter_by(user_id=user.id).all()
|
||||
aliases = Alias.filter_by(user_id=user.id).order_by(Alias.id).all()
|
||||
assert len(aliases) == 3 # +2
|
||||
|
||||
# aliases[0] is the onboarding alias, skip it
|
||||
|
|
Loading…
Reference in a new issue