(self)
| 26 | self.skip_if_no_bitcoin_util() |
| 27 | |
| 28 | def run_test(self): |
| 29 | self.testcase_dir = Path(self.config["environment"]["SRCDIR"]) / "test" / "functional" / "data" / "util" |
| 30 | self.bins = self.get_binaries() |
| 31 | with open(self.testcase_dir / "bitcoin-util-test.json") as f: |
| 32 | input_data = json.loads(f.read()) |
| 33 | |
| 34 | for i, test_obj in enumerate(input_data): |
| 35 | self.log.debug(f"Running [{i}]: " + test_obj["description"]) |
| 36 | self.test_one(test_obj) |
| 37 | |
| 38 | def test_one(self, testObj): |
| 39 | """Runs a single test, comparing output and RC to expected output and RC. |
nothing calls this directly
no test coverage detected