Пример #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, [])