Beispiel #1
0
    def test_get_hosts_and_tests(self):
        host_info = rpc_interface.get_hosts_and_tests()
        self.assertEqual(len(host_info), 1)
        info = host_info['myhost']

        self.assertEqual(info['tests'], ['kernbench'])
        self.assertEqual(info['id'], 1)
    def test_get_hosts_and_tests(self):
        host_info = rpc_interface.get_hosts_and_tests()
        self.assertEquals(len(host_info), 1)
        info = host_info['myhost']

        self.assertEquals(info['tests'], ['kernbench'])
        self.assertEquals(info['id'], 1)