Example #1
0
    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')
Example #2
0
    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')
Example #3
0
 def create_poap_template(self):
     pt = PoapTemplate()
Example #4
0
    def test_get_poap_templates(self):
        poaptemplates = PoapTemplate.get(self.session)

        self.assertIsInstance(poaptemplates, list)
        self.assertIsInstance(poaptemplates[0], PoapTemplate)
Example #5
0
    def test_get_poap_templates(self):
        poaptemplates = PoapTemplate.get(self.session)

        self.assertIsInstance(poaptemplates, list)
        self.assertIsInstance(poaptemplates[0], PoapTemplate)