[tracker] functional-tests: Unbreak test by removing haveMaemo conditionals
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: Unbreak test by removing haveMaemo conditionals
- Date: Wed, 29 Nov 2017 11:37:17 +0000 (UTC)
commit 001e727d68b289a03d6ae6ecc655417387c5df94
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Nov 29 08:46:12 2017 +0100
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
tests/functional-tests/01-insertion.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/01-insertion.py
index 33fd17f..dba85a4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]