Browse Source

BF: defer testSocket for later

pull/143/head
Daniel Black 12 years ago
parent
commit
6f804f9259
  1. 16
      testcases/servertestcase.py

16
testcases/servertestcase.py

@ -142,22 +142,6 @@ class Transmitter(unittest.TestCase):
self.__transm.proceed(["get", jail, cmd]),
(0, outValues[n+1:]))
def testSocket(self):
ss = os.stat(self.__sock_name)
self.assertIsNot(stat.S_ISSOCK(ss.st_mode), 0)
# pid removal is done in server.start
# unsure if this was intended
#def testPid(self):
# pidfile = self.__pidfile_name
# sp = os.stat(pidfile)
# self.assertIsNot(stat.S_ISREG(sp.st_mode), 0)
# self.assertEquals(stat.S_IMODE(sp.st_mode), stat.S_IRUSR | stat.S_IWUSR)
#
# p = open(pidfile,'r')
# self.assertTrue(int(p.read()))
# p.close()
def testStopServer(self):
self.assertEqual(self.__transm.proceed(["stop"]), (0, None))

Loading…
Cancel
Save