[tracker-miners/sam/test-runner-fix: 32/33] functional-tests: Remove some references to the unittest2 module



commit f64ae23a9b2e81f463fa7986538e778355b70f32
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jan 14 13:44:14 2019 +0100

    functional-tests: Remove some references to the unittest2 module
    
    Follow up from merge request GNOME/tracker-miners!40

 tests/functional-tests/common/utils/applicationstest.py | 2 +-
 tests/functional-tests/common/utils/minertest.py        | 2 +-
 tests/functional-tests/common/utils/storetest.py        | 3 +--
 tests/functional-tests/common/utils/writebacktest.py    | 2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/applicationstest.py 
b/tests/functional-tests/common/utils/applicationstest.py
index 046e31406..3e3744e4a 100644
--- a/tests/functional-tests/common/utils/applicationstest.py
+++ b/tests/functional-tests/common/utils/applicationstest.py
@@ -20,7 +20,7 @@
 from common.utils import configuration as cfg
 from common.utils.system import TrackerSystemAbstraction
 from common.utils.helpers import log
-import unittest2 as ut
+import unittest as ut
 
 from gi.repository import GLib
 
diff --git a/tests/functional-tests/common/utils/minertest.py 
b/tests/functional-tests/common/utils/minertest.py
index 4016aab4d..a5ca571ed 100644
--- a/tests/functional-tests/common/utils/minertest.py
+++ b/tests/functional-tests/common/utils/minertest.py
@@ -21,7 +21,7 @@
 from common.utils import configuration as cfg
 from common.utils.helpers import log
 from common.utils.system import TrackerSystemAbstraction
-import unittest2 as ut
+import unittest as ut
 
 from gi.repository import GLib
 
diff --git a/tests/functional-tests/common/utils/storetest.py 
b/tests/functional-tests/common/utils/storetest.py
index aeccf041c..92df182a4 100644
--- a/tests/functional-tests/common/utils/storetest.py
+++ b/tests/functional-tests/common/utils/storetest.py
@@ -25,8 +25,7 @@ from common.utils.system import TrackerSystemAbstraction
 from common.utils.helpers import StoreHelper
 from common.utils import configuration as cfg
 
-import unittest2 as ut
-#import unittest as ut
+import unittest as ut
 
 class CommonTrackerStoreTest (ut.TestCase):
         """
diff --git a/tests/functional-tests/common/utils/writebacktest.py 
b/tests/functional-tests/common/utils/writebacktest.py
index c04573bee..219321f3a 100644
--- a/tests/functional-tests/common/utils/writebacktest.py
+++ b/tests/functional-tests/common/utils/writebacktest.py
@@ -22,7 +22,7 @@ from gi.repository import GLib
 
 from common.utils.system import TrackerSystemAbstraction
 import shutil
-import unittest2 as ut
+import unittest as ut
 import os
 from common.utils import configuration as cfg
 from common.utils.helpers import log


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