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