Removed not used variables returned by run_OLI

These variables are not used in these functions, we can remove them.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-25 19:16:52 +01:00
parent c20db9ef7e
commit 70bf1c74c4

View File

@ -53,7 +53,7 @@ class TestBasicFunctions(unittest.TestCase):
Cleans existing remote test folders. Then syncs all "OLItest*
(specified in the default config) to our local Maildir. The
result should be 0 folders and 0 mails."""
code, res = OLITestLib.run_OLI()
OLITestLib.run_OLI()
boxes, mails = OLITestLib.count_maildir_mails('')
self.assertTrue((boxes, mails) == (0, 0),
msg="Expected 0 folders and 0 "
@ -64,7 +64,7 @@ class TestBasicFunctions(unittest.TestCase):
"""Create local 'OLItest 1', sync"""
OLITestLib.delete_maildir('') # Delete all local maildir folders
OLITestLib.create_maildir('INBOX.OLItest 1')
code, res = OLITestLib.run_OLI()
OLITestLib.run_OLI()
boxes, mails = OLITestLib.count_maildir_mails('')
self.assertTrue((boxes, mails) == (1, 0),
msg="Expected 1 folders and 0 "
@ -150,9 +150,9 @@ class TestBasicFunctions(unittest.TestCase):
OLITestLib.delete_remote_testfolders()
OLITestLib.delete_maildir('')
OLITestLib.create_maildir('INBOX.OLItest')
code, res = OLITestLib.run_OLI()
OLITestLib.run_OLI()
OLITestLib.delete_maildir('INBOX.OLItest')
code, res = OLITestLib.run_OLI()
OLITestLib.run_OLI()
boxes, mails = OLITestLib.count_maildir_mails('')
self.assertTrue((boxes, mails) == (0, 0),
msg="Expected 0 folders and 0 "