[tracker/wip/carlosg/junit: 9/11] tests: Avoid TAP-breaking output strings in functional tests




commit 10683c35abad31671cc0377566d031c4737242a1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Dec 12 21:00:36 2020 +0100

    tests: Avoid TAP-breaking output strings in functional tests
    
    Remove an astray print(), and add comment markers to some TODO comment.

 tests/functional-tests/collation.py | 6 +++---
 tests/functional-tests/notifier.py  | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/collation.py b/tests/functional-tests/collation.py
index 2b46b46e2..733d4243f 100644
--- a/tests/functional-tests/collation.py
+++ b/tests/functional-tests/collation.py
@@ -128,8 +128,8 @@ class TrackerStoreCollationTests (fixtures.TrackerSparqlDirectTest):
 
 if __name__ == "__main__":
     print("""
-    TODO:
-      * Check what happens in non-english encoding
-      * Dynamic change of collation (not implemented yet in tracker)
+#    TODO:
+#      * Check what happens in non-english encoding
+#      * Dynamic change of collation
     """)
     fixtures.tracker_test_main()
diff --git a/tests/functional-tests/notifier.py b/tests/functional-tests/notifier.py
index 1a18c8bac..e98512458 100644
--- a/tests/functional-tests/notifier.py
+++ b/tests/functional-tests/notifier.py
@@ -100,7 +100,6 @@ class TrackerNotifierTests():
         self.assertEqual(len(self.results_deletes), 0)
         self.assertEqual(len(self.results_inserts), 1)
         self.assertEqual(len(self.results_updates), 0)
-        print(self.results_inserts[0])
         assert self.results_inserts[0].get_urn() == 'test://signals-contact-add'
 
     def test_02_remove_contact(self):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]