Skip to content

Commit

Permalink
fixed test-case failing
Browse files Browse the repository at this point in the history
  • Loading branch information
abhayymishraa committed Jan 10, 2025
1 parent bf1cbf6 commit 2008e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/github/api/organization_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def test_organization_serializer(self, mock_filter, organization_data):
def test_get_logins(self, mock_values_list):
mock_values_list.return_value = ["github", "microsoft"]
logins = Organization.get_logins()
assert logins == ["github", "microsoft"]
mock_values_list.assert_called_once_with("name", flat=True)
assert logins == {"github", "microsoft"}
mock_values_list.assert_called_once_with("login", flat=True)

0 comments on commit 2008e62

Please sign in to comment.