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

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

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