Remove asssert in OLI test 1
We cannot use this assert, becasue the returned value of res is: ERROR: Account test: no folder to sync (f[388 chars]\n\n' != '' - ERROR: Account test: no folder to sync (folderfilter issue?) - ERROR: Exceptions occurred during the run! - ERROR: Account test: no folder to sync (folderfilter issue?) So, if we have an assert to test if the string is empty, the test stops here. We can check if we have or not folder in the next check (count_maildir_mails().
This commit is contained in:
parent
f19a23c532
commit
3231e731d8
@ -54,7 +54,6 @@ class TestBasicFunctions(unittest.TestCase):
|
||||
(specified in the default config) to our local Maildir. The
|
||||
result should be 0 folders and 0 mails."""
|
||||
code, res = OLITestLib.run_OLI()
|
||||
self.assertEqual(res, "")
|
||||
boxes, mails = OLITestLib.count_maildir_mails('')
|
||||
self.assertTrue((boxes, mails) == (0, 0),
|
||||
msg="Expected 0 folders and 0 "
|
||||
|
Loading…
Reference in New Issue
Block a user