Skip to content

Commit

Permalink
fix test_scopes.py (Empty scopes are None, not "")
Browse files Browse the repository at this point in the history
  • Loading branch information
dieser-niko committed Oct 13, 2024
1 parent a675e6a commit 5e127c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_scopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def test_empty_scope(self):
normalized_scope_string = self.normalize_scope(scopes)
normalized_scope_string_2 = self.normalize_scope(scope_string)

self.assertEqual(scope_string, "")
self.assertEqual(normalized_scope_string, "")
self.assertEqual(normalized_scope_string_2, "")
self.assertEqual(scope_string, None)
self.assertEqual(normalized_scope_string, None)
self.assertEqual(normalized_scope_string_2, None)

converted_scopes = Scope.from_string(scope_string)
self.assertEqual(converted_scopes, set())
Expand Down

0 comments on commit 5e127c9

Please sign in to comment.