class TestBaseFactory(TestCase): def setUp(self): self.sut = BaseFactory() def test__get_transaction(self): with self.assertRaises(NotImplementedError): self.sut._get_transaction(None) def test_get_mempool_transactions(self): with self.assertRaises(NotImplementedError): self.sut.get_mempool_transactions() def test_get_transactions(self): with self.assertRaises(NotImplementedError): self.sut.get_transactions(None) def test_generate_blocks(self): with self.assertRaises(NotImplementedError): self.sut.generate_blocks(None)
def setUp(self): self.sut = BaseFactory()