def test_set_poap_template_attributes(self): testobjs = PoapTemplate.get(self.session) testobj = testobjs[0] for method in dir(testobj): if method.startswith('set_'): a = getattr(testobj, method) a('foo')
def create_poap_template(self): pt = PoapTemplate()
def test_get_poap_templates(self): poaptemplates = PoapTemplate.get(self.session) self.assertIsInstance(poaptemplates, list) self.assertIsInstance(poaptemplates[0], PoapTemplate)