From 6b2417bd066b3214b08def80218a21fd26a923ef Mon Sep 17 00:00:00 2001 From: Bryan Bartley Date: Sun, 15 Oct 2023 21:53:27 -0700 Subject: [PATCH] Fix code checks --- test/test_collection.py | 2 +- test/test_referenced_object.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_collection.py b/test/test_collection.py index 71fbdbe..5f67b19 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -42,7 +42,7 @@ def test_member_property(self): collection.members = uris self.assertIn(sbol3.SBOL_MEMBER, collection._referenced_objects) self.assertNotIn(sbol3.SBOL_ORIENTATION, collection._referenced_objects) - self.assertListEqual(uris, [m.identity for m in collection.members]) + self.assertListEqual(uris, [m.identity for m in collection.members]) # pylint: disable=E1101 # Namespace testing def test_namespace_deduced(self): diff --git a/test/test_referenced_object.py b/test/test_referenced_object.py index 0041810..aba72c6 100644 --- a/test/test_referenced_object.py +++ b/test/test_referenced_object.py @@ -1,9 +1,10 @@ import os import unittest -import sbol3 import rdflib +import sbol3 + MODULE_LOCATION = os.path.dirname(os.path.abspath(__file__)) SBOL3_LOCATION = os.path.join(MODULE_LOCATION, 'SBOLTestSuite', 'SBOL3')