class BaseStoreTestCase(unittest.TestCase): def setUp(self): self.store = BaseStore() def test_submit(self): with self.assertRaises(NotImplementedError): self.store.submit("data") def test_publish(self): with self.assertRaises(NotImplementedError): self.store.publish()
def setUp(self): self.store = BaseStore()