Exemple #1
0
 def test_getChannels_ok_with_channels (self): 
     processor =  SingularService ()
     retcode = processor.getChannels ('clienteBase', WebServiceTests.password2)
     self.assertEqual (retcode, [u'canal1'])
Exemple #2
0
 def test_getChannels_ok_without_channels (self):
     processor =  SingularService ()
     retcode = processor.getChannels ('customer1', WebServiceTests.password2)
     self.assertEqual (retcode, [])