summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2017-11-29 08:46:12 +0100
committerSam Thursfield <sam@afuera.me.uk>2017-11-29 11:36:40 +0000
commit001e727d68b289a03d6ae6ecc655417387c5df94 (patch)
tree5b15502d17a03fe7a1158097c79e802af064afdd
parent8ba00d153dacd463c567a121a356abe1cdb5103a (diff)
downloadtracker-001e727d68b289a03d6ae6ecc655417387c5df94.tar.gz
functional-tests: Unbreak test by removing haveMaemo conditionals
The 01-insertion.py test fails with: File "./01-insertion.py", line 774, in <module> class TrackerStorePhoneNumberTest (CommonTrackerStoreTest): File "./01-insertion.py", line 780, in TrackerStorePhoneNumberTest @ut.skipIf (not cfg.haveMaemo, "This test uses maemo:specific properties") AttributeError: 'module' object has no attribute 'haveMaemo' The Maemo/Meego flags were removed and the 91-maemo ontology is now installed unconditionally. Therefore there is no need to make this test conditional. Fallout from 809b56767fccd5680136485c6fbbc895e83dd886 https://bugzilla.gnome.org/show_bug.cgi?id=783555
-rwxr-xr-xtests/functional-tests/01-insertion.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/01-insertion.py
index 33fd17f3d..dba85a4b2 100755
--- a/tests/functional-tests/01-insertion.py
+++ b/tests/functional-tests/01-insertion.py
@@ -777,7 +777,6 @@ class TrackerStorePhoneNumberTest (CommonTrackerStoreTest):
and running query to get the contact from the number.
"""
- @ut.skipIf (not cfg.haveMaemo, "This test uses maemo:specific properties")
def test_phone_01 (self):
"""
1. Setting the maemo:localPhoneNumber property to last 7 digits of phone number.
@@ -833,7 +832,6 @@ class TrackerStorePhoneNumberTest (CommonTrackerStoreTest):
self.assertEquals (result[0][0], "test://test_phone_1/message")
- @ut.skipIf (not cfg.haveMaemo, "This test uses maemo:specific properties")
def test_phone_02 (self):
"""
Inserting a local phone number which have spaces