Remove commente code
This commit is contained in:
parent
239ca47f32
commit
b85390fc36
@ -19,12 +19,7 @@ class TestCICEthOffline(TestCICEthBase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(TestCICEthOffline, self).setUp()
|
super(TestCICEthOffline, self).setUp()
|
||||||
self.adapter = CICEth(self.chain_spec, self.resources, self.proofs)
|
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.first_proof = self.proofs.root()[0]
|
||||||
#self.core_processor = Processor(outputs_writer=self.outputs_writer, extensions=[self.adapter])
|
|
||||||
|
|
||||||
|
|
||||||
def test_offline_token_index(self):
|
def test_offline_token_index(self):
|
||||||
@ -39,7 +34,6 @@ class TestCICEthOffline(TestCICEthBase):
|
|||||||
self.adapter.process_address_declarator()
|
self.adapter.process_address_declarator()
|
||||||
self.assertEqual(self.adapter.outputs[0][0], 'address_declarator_' + self.first_proof)
|
self.assertEqual(self.adapter.outputs[0][0], 'address_declarator_' + self.first_proof)
|
||||||
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
|
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
|
||||||
# self.assertEqual(len(self.adapter.outputs), 3)
|
|
||||||
|
|
||||||
|
|
||||||
def test_offline_writer(self):
|
def test_offline_writer(self):
|
||||||
@ -50,7 +44,6 @@ class TestCICEthOffline(TestCICEthBase):
|
|||||||
logg.debug('outputs {}'.format(self.adapter.outputs))
|
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][0], 'address_declarator_' + self.first_proof)
|
||||||
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
|
self.assertEqual(self.adapter.outputs[0][1][:8], 'ae47ece0')
|
||||||
# self.assertEqual(len(self.adapter.outputs), 3)
|
|
||||||
|
|
||||||
for i, v in enumerate(self.adapter.outputs):
|
for i, v in enumerate(self.adapter.outputs):
|
||||||
fp = os.path.join(self.outputs_dir, v[0])
|
fp = os.path.join(self.outputs_dir, v[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user