PIM testing: check behavior with broken pim-manager.ini (FDO #70772)
The PIM Manager should be able to start normally and the default sort order should be used instead of the invalid one from the config. Invalid address books are also tested, without checking for any specific value from GetActiveAddressBooks().
This commit is contained in:
parent
1f8f2d14ea
commit
700ddd7b41
|
@ -0,0 +1,3 @@
|
|||
sort = foobar
|
||||
active = no-such-addressbook
|
||||
|
|
@ -799,6 +799,12 @@ XDG root.
|
|||
# EDS workaround
|
||||
time.sleep(2)
|
||||
|
||||
@property("snapshot", "broken-config")
|
||||
def testBrokenConfig(self):
|
||||
'''TestContacts.testBrokenConfig - start with broken pim-manager.ini'''
|
||||
self.manager.Start()
|
||||
self.assertEqual("last/first", self.manager.GetSortOrder())
|
||||
|
||||
@timeout(os.environ.get('TESTPIM_TEST_SYNC_TESTCASES', False) and 300000 or 300)
|
||||
@property("snapshot", "simple-sort")
|
||||
def testSync(self):
|
||||
|
|
Loading…
Reference in a new issue