From 5e127c9ab2f536ef3146eaa898ce09f1d639abac Mon Sep 17 00:00:00 2001 From: dieser-niko Date: Sun, 13 Oct 2024 22:13:47 +0200 Subject: [PATCH] fix test_scopes.py (Empty scopes are None, not "") --- tests/unit/test_scopes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_scopes.py b/tests/unit/test_scopes.py index 441c7932..8aad06a8 100644 --- a/tests/unit/test_scopes.py +++ b/tests/unit/test_scopes.py @@ -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())