示例#1
0
 def test_getChannels_ok_with_channels (self):
     processor =  SMSProcessor ()
     retcode = processor.getChannels (WebServiceTests.username, WebServiceTests.password)
     self.assertEqual (retcode, [u'TestChannel'])
示例#2
0
 def test_getChannels_ok_without_channels (self):
     processor =  SMSProcessor ()
     retcode = processor.getChannels ('customer1', 'password')
     self.assertEqual (retcode, [])