Extra test login fout
This commit is contained in:
1 parent
6dd1d36add
commit
81511300bf
1 file changed
+5
@@ -34,6 +34,11 @@ class lmwsipTest(unittest.TestCase):
|
||||
self.login()
|
||||
self.assertEqual(type(self.sip), lmwsip.LmwSip)
|
||||
|
||||
def test_loginfail(self):
|
||||
with self.assertRaises(lmwsip.LmwLoginFailure):
|
||||
self.sip = lmwsip.LmwSip("FAIL", "FAIL", "localhost",
|
||||
self.sipserver.port, ssl=False)
|
||||
|
||||
def test_ti(self):
|
||||
self.login()
|
||||
self.assertEqual(type(self.sip.ti()), str)
|
||||
|
||||
Reference in new issue
Block a user