Commit 5852fd15 authored by Debarshi Ray's avatar Debarshi Ray

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 809b5676

https://bugzilla.gnome.org/show_bug.cgi?id=783555
parent eecc0ca9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment