Drop the unit assertion the black-box test covers

This commit is contained in:
2026-09-29 10:26:36 +02:00
parent 4aaad015f6
commit f4f996f124
-1
View File
@@ -92,7 +92,6 @@ class MarkTrusted(unittest.TestCase):
self.assertEqual(formats.mark_trusted(config, ["/a", "/b", "/c"]), ({"other": 1, "projects": {"/a": {"hasTrustDialogAccepted": True}, "/b": {"hasTrustDialogAccepted": True, "kept": True}, "/c": {"hasTrustDialogAccepted": True}}}, ["/b", "/c"]))
self.assertEqual(json.dumps(config), handed)
self.assertEqual(formats.mark_trusted({}, ["/a"]), ({"projects": {"/a": {"hasTrustDialogAccepted": True}}}, ["/a"]))
self.assertEqual(formats.mark_trusted({"projects": {"/a": 1}}, ["/a"]), Failure('projects["/a"] is not an object'))
class Grounded(unittest.TestCase):