Remove commente code

This commit is contained in:
nolash 2021-11-29 13:28:34 +01:00
parent 239ca47f32
commit b85390fc36
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -19,12 +19,7 @@ class TestCICEthOffline(TestCICEthBase):
def setUp(self):
super(TestCICEthOffline, self).setUp()
self.adapter = CICEth(self.chain_spec, self.resources, self.proofs)
#proofs = []
#for proof in self.proofs.get():
# proofs.append(proof[0])
#proofs.sort()
self.first_proof = self.proofs.root()[0]
#self.core_processor = Processor(outputs_writer=self.outputs_writer, extensions=[self.adapter])
def test_offline_token_index(self):
@ -39,7 +34,6 @@ class TestCICEthOffline(TestCICEthBase):
self.adapter.process_address_declarator()
self.assertEqual(self.adapter.outputs[0][0], 'address_declarator_' + self.first_proof)
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
# self.assertEqual(len(self.adapter.outputs), 3)
def test_offline_writer(self):
@ -50,7 +44,6 @@ class TestCICEthOffline(TestCICEthBase):
logg.debug('outputs {}'.format(self.adapter.outputs))
self.assertEqual(self.adapter.outputs[0][0], 'address_declarator_' + self.first_proof)
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
# self.assertEqual(len(self.adapter.outputs), 3)
for i, v in enumerate(self.adapter.outputs):
fp = os.path.join(self.outputs_dir, v[0])