def test_delete_output(self):
     outputs = bitcodin.list_outputs()
     self.assertGreater(len(outputs), 0)
     self.assertTrue(bitcodin.delete_output(outputs[0].output_id))
    def test_get_output(self):
        outputs = bitcodin.list_outputs()
        self.assertGreater(len(outputs), 0)

        single_output = bitcodin.get_output(outputs[0].output_id)
        self.assertEqual(single_output.output_id, outputs[0].output_id)