示例#1
0
class TestPingClient():

    def setup(self):
        self.client = PingClient()

    def tearDown(self):
        pass

    def test_rucio_ping(self):
        """ RUCIO(CLIENTS): test a rucio ping """
        ret = self.client.ping()
        assert_true('version' in ret)
        assert_is_instance(ret, dict)
示例#2
0
文件: test_ping.py 项目: ricsxn/rucio
 def test_rucio_ping(self):
     """ RUCIO(CLIENTS): test a rucio ping """
     client = PingClient()
     ret = client.ping()
     assert 'version' in ret
     assert isinstance(ret, dict)
示例#3
0
 def setup(self):
     self.client = PingClient()