Exemplo n.º 1
0
 def test_mailbox_exist_wrong(self):
     su = VoicemailSuperUser(12345)
     su.token = "FAKE"
     with self.set_response('tests/data/mailbox_exist_wrong.xml'):
         with self.assertRaises(SquirrelException) as e:
             exist = su.mailbox_exist('123123')
Exemplo n.º 2
0
 def test_mailbox_exist_wrong(self):
     su = VoicemailSuperUser(12345)
     su.token = "FAKE"
     with self.set_response('tests/data/mailbox_exist_wrong.xml'):
         with self.assertRaises(SquirrelException) as e:
             exist = su.mailbox_exist('123123')
Exemplo n.º 3
0
 def test_mailbox_exist_false(self):
     su = VoicemailSuperUser(12345)
     su.token = "FAKE"
     with self.set_response('tests/data/mailbox_exist_false.xml'):
         exist = su.mailbox_exist('12121')
         self.assertFalse(exist)
Exemplo n.º 4
0
 def test_mailbox_exist_false(self):
     su = VoicemailSuperUser(12345)
     su.token = "FAKE"
     with self.set_response('tests/data/mailbox_exist_false.xml'):
         exist = su.mailbox_exist('12121')
         self.assertFalse(exist)