summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2014-07-31 15:43:58 +0200
committerJoel Rosdahl <joel@rosdahl.net>2014-07-31 15:43:58 +0200
commit0ee0f02626220c169cfe1a5b814b63cc07fc2263 (patch)
tree3d9c8bd9b533eb96f6ffae5a143b166d39dcbf82 /test.py
parent8080915fba6e3ea6ed06a67420ed4fc27e2e5279 (diff)
downloadminiircd-0ee0f02626220c169cfe1a5b814b63cc07fc2263.tar.gz
miniircd-0ee0f02626220c169cfe1a5b814b63cc07fc2263.zip
Made Python code PEP8 clean
Diffstat (limited to 'test.py')
-rw-r--r--test.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test.py b/test.py
index 64734d8..4b1c3f7 100644
--- a/test.py
+++ b/test.py
@@ -11,6 +11,7 @@ from nose.tools import assert_not_in, assert_true
SERVER_PORT = 16667
+
class ServerFixture(object):
def setUp(self, persistent=False):
if persistent:
@@ -22,7 +23,7 @@ class ServerFixture(object):
# Child.
arguments = [
"miniircd",
-# "--debug",
+ # "--debug",
"--ports=%d" % SERVER_PORT,
]
if persistent:
@@ -254,7 +255,9 @@ class TestBasicStuff(ServerFixture):
def test_lusers(self):
self.connect("apa")
self.send("apa", "lusers")
- self.expect("apa", r":local\S+ 251 apa :There are \d+ users and \d+ services on \d+ servers*")
+ self.expect("apa",
+ r":local\S+ 251 apa :There are \d+ users and \d+ services"
+ " on \d+ servers*")
class TestTwoChannelsStuff(TwoClientsTwoChannelsFixture):