Reformat offlineimap/test/tests/ all tests
Add some spaces, remove lines,... now format is better (lintian).
This commit is contained in:
parent
d75cf8d80c
commit
bcc497df16
@ -1 +0,0 @@
|
||||
|
@ -4,6 +4,7 @@
|
||||
from offlineimap import globals
|
||||
import unittest
|
||||
|
||||
|
||||
class Opt:
|
||||
def __init__(self):
|
||||
self.one = "baz"
|
||||
|
@ -27,15 +27,18 @@ from test.OLItest import OLITestLib
|
||||
if not OLITestLib.cred_file:
|
||||
OLITestLib(cred_file='./test/credentials.conf', cmd='./offlineimap.py')
|
||||
|
||||
|
||||
def setUpModule():
|
||||
logging.info("Set Up test module %s" % __name__)
|
||||
tdir = OLITestLib.create_test_dir(suffix=__name__)
|
||||
|
||||
|
||||
def tearDownModule():
|
||||
logging.info("Tear Down test module")
|
||||
# comment out next line to keep testdir after test runs. TODO: make nicer
|
||||
OLITestLib.delete_test_dir()
|
||||
|
||||
|
||||
# Stuff that can be used
|
||||
# self.assertEqual(self.seq, range(10))
|
||||
# should raise an exception for an immutable sequence
|
||||
|
@ -29,10 +29,12 @@ def setUpModule():
|
||||
logging.info("Set Up test module %s" % __name__)
|
||||
tdir = OLITestLib.create_test_dir(suffix=__name__)
|
||||
|
||||
|
||||
def tearDownModule():
|
||||
logging.info("Tear Down test module")
|
||||
OLITestLib.delete_test_dir()
|
||||
|
||||
|
||||
# Stuff that can be used
|
||||
# self.assertEqual(self.seq, range(10))
|
||||
# should raise an exception for an immutable sequence
|
||||
@ -107,7 +109,6 @@ class TestBasicFunctions(unittest.TestCase):
|
||||
# Write out default config file again
|
||||
OLITestLib.write_config_file()
|
||||
|
||||
|
||||
def test_05_createmail(self):
|
||||
"""Create mail in OLItest 1, sync, wipe folder sync
|
||||
|
||||
|
@ -29,10 +29,12 @@ def setUpModule():
|
||||
logging.info("Set Up test module %s" % __name__)
|
||||
tdir = OLITestLib.create_test_dir(suffix=__name__)
|
||||
|
||||
|
||||
def tearDownModule():
|
||||
logging.info("Tear Down test module")
|
||||
OLITestLib.delete_test_dir()
|
||||
|
||||
|
||||
# Stuff that can be used
|
||||
# self.assertEqual(self.seq, range(10))
|
||||
# should raise an exception for an immutable sequence
|
||||
|
Loading…
Reference in New Issue
Block a user