Beispiel #1
0
 def test_obj_lookup_missing_subject(self):
     """TASRClientSV.lookup_subject()"""
     with httmock.HTTMock(self.route_to_testapp):
         client = tasr.client.TASRClientSV(self.host, self.port)
         self.assertFalse(client.lookup_subject(self.event_type))
Beispiel #2
0
 def test_obj_lookup_subject(self):
     """TASRClientSV.lookup_subject()"""
     self.obj_register_subject_skeleton()
     with httmock.HTTMock(self.route_to_testapp):
         client = tasr.client.TASRClientSV(self.host, self.port)
         self.assertTrue(client.lookup_subject(self.event_type))