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

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

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