def test_get_properties(self): properties = amqp_object.Properties() body = 'This is a test' obj = amqp_object.Method() obj._set_content(properties, body) self.assertEqual(obj.get_properties(), properties)
def test_base_name(self): self.assertEqual(amqp_object.Method().NAME, 'Unextended Method')