Skip to content
Snippets Groups Projects
Commit 5f340dfd authored by Thorge Petersen's avatar Thorge Petersen
Browse files

More fixes for tpsh tests

parent cbe6f0aa
No related branches found
No related tags found
1 merge request!48Merge dev into master
...@@ -96,7 +96,7 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase): ...@@ -96,7 +96,7 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase):
def get_graph_and_assert_in(self, dataset_dict, dataset_ref, expected_node): def get_graph_and_assert_in(self, dataset_dict, dataset_ref, expected_node):
self.profile.graph_from_dataset(dataset_dict, dataset_ref) self.profile.graph_from_dataset(dataset_dict, dataset_ref)
graph_serialized = self.profile.g.serialize() graph_serialized = self.profile.g.serialize(format='pretty-xml')
print((self.profile.g.serialize(format='pretty-xml'))) print((self.profile.g.serialize(format='pretty-xml')))
assert expected_node in graph_serialized assert expected_node in graph_serialized
...@@ -181,4 +181,4 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase): ...@@ -181,4 +181,4 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase):
self.profile._remove_predefined_collection_members() self.profile._remove_predefined_collection_members()
graph_serialized = self.profile.g.serialize() graph_serialized = self.profile.g.serialize()
for ref in refs: for ref in refs:
assert ref in graph_serialized assert ref not in graph_serialized
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment