From 5f340dfd3071c7e7444821ae97f78212e419af31 Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Fri, 9 Jun 2023 11:09:46 +0200
Subject: [PATCH] More fixes for tpsh tests

---
 ckanext/odsh/tests_tpsh/test_profiles.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ckanext/odsh/tests_tpsh/test_profiles.py b/ckanext/odsh/tests_tpsh/test_profiles.py
index 1ec5d80a..d0c00dea 100644
--- a/ckanext/odsh/tests_tpsh/test_profiles.py
+++ b/ckanext/odsh/tests_tpsh/test_profiles.py
@@ -96,7 +96,7 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase):
     
     def get_graph_and_assert_in(self, dataset_dict, dataset_ref, expected_node):
         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')))
         assert expected_node in graph_serialized
     
@@ -181,4 +181,4 @@ class TestODSHDCATdeProfileGraphFromDataset(unittest.TestCase):
         self.profile._remove_predefined_collection_members()
         graph_serialized = self.profile.g.serialize()
         for ref in refs:
-            assert ref in graph_serialized
+            assert ref not in graph_serialized
-- 
GitLab