Beispiel #1
0
    def setUp(self):
        """Call before every test case."""
        d = {u'name': u'NEEL KASHKARI',
                u'description': u'Party Preference: Republican\nBusinessman'}

        self.empty = Contestant()
        self.object = Contestant(d)
Beispiel #2
0
 def setUp(self):
     """Call before every test case."""
     d = {u'name': u'NEEL KASHKARI',
             u'description': u'Party Preference: Republican\nBusinessman'}
     c = Contestant(d)
     self.object = Opinion(c, 1, authoritative=True)