def test_lookup(self): connection = Connection.make_connection(tc.hostname, tc.admin, tc.password) names = Authority.list(connection) auth = Authority.lookup(connection, names[0]) self.assertIsNotNone(auth) self.assertEqual(auth.certificate_id(), names[0])
def test_lookup(self): names = Authority.list(self.connection) auth = Authority.lookup(self.connection, names[0]) assert auth is not None assert auth.certificate_id() == names[0]
def test_lookup(self): names = Authority.list(self.connection) auth = Authority.lookup(self.connection, names[0]) assert auth is not None assert auth.certificate_id() == names[0]