outsource assert..isStarted from setup into separate test case

pull/1413/head
sebres 2016-07-13 09:36:11 +02:00
parent dfcf6f1963
commit ad393fcfbb
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,8 @@ class Transmitter(TransmitterBase):
def setUp(self): def setUp(self):
self.server = TestServer() self.server = TestServer()
super(Transmitter, self).setUp() super(Transmitter, self).setUp()
def testServerIsNotStarted(self):
# so far isStarted only tested but not used otherwise # so far isStarted only tested but not used otherwise
# and here we don't really .start server # and here we don't really .start server
self.assertFalse(self.server.isStarted()) self.assertFalse(self.server.isStarted())