diff options
author | Aleksander Machniak <machniak@kolabsys.com> | 2016-05-04 15:53:48 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2016-05-04 15:53:48 +0200 |
commit | c204eaaa2c9a006432fe00489a352833143db01d (patch) | |
tree | 18860f2e335b9a98d34f404d5c4b81d22f2ce222 /tests/functional/test_wallace/test_002_footer.py | |
parent | 4a24e0cc403321713ee1201ade9d36956da1c060 (diff) | |
download | pykolab-c204eaaa2c9a006432fe00489a352833143db01d.tar.gz |
CS fixes according to PEP8 (ignored mostly line-length errors only)
Summary: .
Reviewers: #pykolab_developers
Differential Revision: https://git.kolab.org/D134
Diffstat (limited to 'tests/functional/test_wallace/test_002_footer.py')
-rw-r--r-- | tests/functional/test_wallace/test_002_footer.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/test_wallace/test_002_footer.py b/tests/functional/test_wallace/test_002_footer.py index 4c1599c..d6e5836 100644 --- a/tests/functional/test_wallace/test_002_footer.py +++ b/tests/functional/test_wallace/test_002_footer.py @@ -17,6 +17,7 @@ from pykolab.imap import IMAP conf = pykolab.getConf() + class TestWallaceFooter(unittest.TestCase): user = None @@ -115,10 +116,10 @@ class TestWallaceFooter(unittest.TestCase): def send_message(self, msg, _to=None, _from=None): smtp = smtplib.SMTP('localhost', 10026) - if _to == None: + if _to is None: _to = self.send_to - if _from == None: + if _from is None: _from = self.send_from smtp.sendmail(_from, _to, msg.as_string()) |