Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SBMTD sample data #365

Merged
merged 4 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/server.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ sub,name,type
71650,De la Cruz,courtesy_card
03218,D'Andrea,courtesy_card
51828,Grafton-Herbert,courtesy_card
1234,Barbara,mobility_pass
2345,Brown,mobility_pass
3456,Calderón,mobility_pass
4567,Van Buren,mobility_pass
4178,Núñez,mobility_pass
0328,D'Andrea,mobility_pass
00596884ca82d6df736892667163ea13ca95404d3f746e516d2443a0c12cc9e199a8bf113142ebe0bbdbbdcecde179fd1ba45c226033d88cec5606b1e29517d6,b654c445c17985721f9899fb310a320fb9f55a1fde191327aaf241aeabd177172e5cef8bf3b8d628213c62d84d4aff8f50e42d5bc849784a079fe84d8fad0de0,courtesy_card
thekaveman marked this conversation as resolved.
Show resolved Hide resolved
21320c3329d6fe8febd435e93343cd8bb491c14ea21f567e32253be23f625c1b59980e5c904209cbc112d87d26939d7aabbcbcf18eff15c75d9d6dd6f1b232ae,d33f779614d2b3123b5251aebea26cc3c9179d6bd50be9de287b50f6a8c4a34e56e5964ca8e5d09ed6131a5aa3cc09fa64f51af37fefc4e42cde25b797043863,courtesy_card
76abba90ebdb506633af20f40ed50ca2c2446f1916e121fe7d9e59b3e043f0e8b1343abfa4dfc737298ede495197b62a7b8defb53e42d0bdbd8f041874ff10f3,a5a69f778724a4a34c56cf89c7d4d39ba28fd56fffa869a201c435c7cc9d1eb02dcb4c6f33eb22e244914f282fc2aedd43504e0593c50ff88ba4ee21d50bfcfa,courtesy_card
Expand Down
4 changes: 2 additions & 2 deletions tests/db/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def test_init_db_command(runner):

assert result.exit_code == 0

assert User.query.count() == 25
assert Eligibility.query.count() == 1
assert User.query.count() == 31
assert Eligibility.query.count() == 2

user_with_one_eligibility = User.query.filter_by(sub="32587", name="Gonzales").first()
courtesy_card_type = Eligibility.query.filter_by(name="courtesy_card").first()
Expand Down