Updates after testing
This commit is contained in:
parent
2c9ae1c312
commit
04095c9970
15 changed files with 238 additions and 33 deletions
2
tests/fixtures/s2023.csv
vendored
2
tests/fixtures/s2023.csv
vendored
|
|
@ -1,7 +1,9 @@
|
|||
UNITID,STAFFCAT,FTPT,OCCUPCAT,HRTOTLT
|
||||
130943,2100,2,100,5081
|
||||
130943,2200,2,200,1271
|
||||
130943,2300,2,300,666
|
||||
130943,2250,2,250,124
|
||||
110635,2100,2,100,15000
|
||||
110635,2200,2,200,800
|
||||
110635,2300,2,300,400
|
||||
110635,2250,2,250,3500
|
||||
|
|
|
|||
|
|
|
@ -22,4 +22,5 @@ def test_load_staff_filters_to_ud(db_conn, fixtures_dir, tmp_path):
|
|||
"SELECT total_staff, faculty_total, management_total FROM raw_ipeds_staff WHERE unitid = ?",
|
||||
[UD_UNITID],
|
||||
).fetchone()
|
||||
assert row == (5081, 124, 1271)
|
||||
# faculty_total=OCCUPCAT 200 (instruction/research), management_total=OCCUPCAT 300
|
||||
assert row == (5081, 1271, 666)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue