Skip to content

Commit

Permalink
Fix test that was still using root attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Jun 1, 2023
1 parent 5a9b5fa commit ff62fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_helpers_autofields.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ def test_autolist_nested(self):
m = Manifest(label="Nested Autolist Test", provider={"logo": {"id": "https://example.org/logo", "type": "Image", "format": "image/png", "service": {"type": "ImageService3", "profile": "level2"}}})
self.assertIsInstance(m.provider, list)
self.assertIsInstance(m.provider[0].logo, list)
self.assertIsInstance(m.provider[0].logo[0].__root__.service, list)
self.assertIsInstance(m.provider[0].logo[0].service, list)

0 comments on commit ff62fc0

Please sign in to comment.