def test_get_input(self):
        inputs = bitcodin.list_inputs()

        self.assertGreater(len(inputs), 0)

        single_input = bitcodin.get_input(inputs[0].input_id)
        self.assertEqual(inputs[0].input_id, single_input.input_id)
 def runTest(self):
     inputs = list_inputs()
     input_found = False
     for input in inputs:
         if self.input.input_id == input.input_id:
             input_found = True
             break
     self.assertEquals(input_found, True)
Exemple #3
0
 def runTest(self):
     inputs = list_inputs()
     input_found = False
     for input in inputs:
         if self.input.input_id == input.input_id:
             input_found = True
             break
     self.assertEquals(input_found, True)
 def test_delete_input(self):
     inputs = bitcodin.list_inputs()
     self.assertGreater(len(inputs), 0)
     self.assertTrue(bitcodin.delete_input(inputs[0].input_id))