From ad393fcfbbdb0c491e86f891c6ee194fa0134f79 Mon Sep 17 00:00:00 2001 From: sebres Date: Wed, 13 Jul 2016 09:36:11 +0200 Subject: [PATCH] outsource assert..isStarted from setup into separate test case --- fail2ban/tests/servertestcase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fail2ban/tests/servertestcase.py b/fail2ban/tests/servertestcase.py index d733da0a..ab606dbe 100644 --- a/fail2ban/tests/servertestcase.py +++ b/fail2ban/tests/servertestcase.py @@ -158,6 +158,8 @@ class Transmitter(TransmitterBase): def setUp(self): self.server = TestServer() super(Transmitter, self).setUp() + + def testServerIsNotStarted(self): # so far isStarted only tested but not used otherwise # and here we don't really .start server self.assertFalse(self.server.isStarted())