Skip to content

Commit

Permalink
remove filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadus committed Oct 9, 2023
1 parent 20bbd79 commit 6353023
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions evap/staff/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,14 +565,6 @@ def test_export_all(self):
response = self.app.get(self.url, user=self.manager)
self.assertUsersExported(response, user_objects)

def test_export_filtered(self):
user_objects = {
(user.title or "", user.last_name or "", user.first_name or "", user.email or "")
for user in UserProfile.objects.exclude(is_active=False).iterator()
}
response = self.app.get(self.url, {"filter_users": True}, user=self.manager)
self.assertUsersExported(response, user_objects)


class TestUserImportView(WebTestStaffMode):
url = "/staff/user/import"
Expand Down

0 comments on commit 6353023

Please sign in to comment.