From d874d53857c0ece1e384cf0c6169ebdb71cb5042 Mon Sep 17 00:00:00 2001 From: dieser-niko Date: Sun, 13 Oct 2024 22:16:19 +0200 Subject: [PATCH] fix test_scopes.py (Empty scopes are None, not "") --- tests/unit/test_scopes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_scopes.py b/tests/unit/test_scopes.py index 8aad06a8..e26a036e 100644 --- a/tests/unit/test_scopes.py +++ b/tests/unit/test_scopes.py @@ -82,10 +82,10 @@ def test_invalid_types(self): def test_normalize_scope(self): normalized_scope_string = self.normalize_scope([]) - self.assertEqual(normalized_scope_string, "") + self.assertEqual(normalized_scope_string, None) normalized_scope_string_2 = self.normalize_scope(()) - self.assertEqual(normalized_scope_string_2, "") + self.assertEqual(normalized_scope_string_2, None) self.assertIsNone(self.normalize_scope(None))