Skip to content

Commit ee76ead

Browse files
Fix integration test
1 parent ca4f0bf commit ee76ead

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

docassemble/EFSPIntegration/test/integration_test.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,10 @@ def test_users(self):
275275
full_user = self.basic_assert(self.proxy_conn.get_user(new_id))
276276
assert full_user.data["middleName"] == "S"
277277

278-
all_users = self.basic_assert(self.proxy_conn.get_users())
279-
assert len(all_users.data) == len(all_initial_users.data) + 1
278+
self.basic_assert(self.proxy_conn.get_users())
279+
# With paging, there are now limits to how many users we can see
280+
# Also, we have 203 users now because removing them doesn't remove them, lol
281+
# assert len(all_users.data) == len(all_initial_users.data) + 1
280282

281283
roles = self.basic_assert(self.proxy_conn.get_user_roles(new_id))
282284
assert len(roles.data) == 1
@@ -529,13 +531,13 @@ def main(*, base_url, api_key, user_email=None, user_password=None):
529531
proxy_conn, verbose=True, user_email=user_email, user_password=user_password
530532
)
531533
tc.test_authenticate()
532-
#tc.test_hateos()
533-
# tc.test_self_user()
534-
#tc.test_firm()
535-
#tc.test_service_contacts()
536-
#tc.test_get_courts()
537-
#tc.test_payment_accounts()
538-
#tc.test_attorneys()
534+
tc.test_hateos()
535+
tc.test_self_user()
536+
tc.test_firm()
537+
tc.test_service_contacts()
538+
tc.test_get_courts()
539+
tc.test_payment_accounts()
540+
tc.test_attorneys()
539541
tc.test_court_record()
540542
tc.test_users()
541543
tc.test_codes()

0 commit comments

Comments
 (0)