Esempio n. 1
0
class TestQuery(unittest.TestCase):
    def setUp(self):
        self.stats = Stats("me")
    def testAbortNothing(self):
        assert isinstance(self.stats.query(), iApiAction)
    def testQueryNone(self):
        try:
            self.stats.query(None)
        except TypeError, _e:
            assert True
        else:
Esempio n. 2
0
 def setUp(self):
     self.stats = Stats("me")