コード例 #1
0
class TestClientRetinasApi(unittest.TestCase):
    def setUp(self):
        self.retinasApi = RetinasApi(testConfiguration.client)

    def testRetinas(self):

        retinas = self.retinasApi.getRetinas()
        self.assertNotEqual(retinas, None)
        self.assertNotEqual(retinas[0], None)
        self.assertNotEqual(retinas[1], None)
        self.assertTrue("en_synonymous" == retinas[0].retinaName
                        or "en_associative" == retinas[0].retinaName)
コード例 #2
0
class TestClientRetinasApi(unittest.TestCase):
    

    def setUp(self):
        self.retinasApi = RetinasApi(testConfiguration.client);

    def testRetinas(self):
        
        retinas = self.retinasApi.getRetinas();
        self.assertNotEqual(retinas, None)
        self.assertNotEqual(retinas[0], None)
        self.assertNotEqual(retinas[1], None)
        self.assertTrue("en_synonymous" == retinas[0].retinaName or "en_associative" == retinas[0].retinaName)
コード例 #3
0
 def setUp(self):
     self.retinasApi = RetinasApi(testConfiguration.client);
コード例 #4
0
 def setUp(self):
     self.retinasApi = RetinasApi(testConfiguration.client)