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:
def setUp(self): self.stats = Stats("me")