def test_get_script(self):
     c = BaseClient()
     h_cb = partial(
         self.handle_cb,
         **{'codes':[404]}
     )
     c.get_script(
         'native',
         'testscript123',
         cb = h_cb,
     )
     self.wait()
예제 #2
0
 def test_get_script(self):
     c = BaseClient()
     h_cb = partial(
         self.handle_cb,
         **{'codes':[404]}
     )
     c.get_script(
         'native',
         'testscript123',
         callback = h_cb,
     )
     self.wait()