diff --git a/tests/test_expansions.py b/tests/test_expansions.py index 801769a..b853c25 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -105,9 +105,10 @@ class TestExpansions(unittest.TestCase): query = {"module": "btc_steroids", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"} response = self.misp_modules_post(query) try: - self.assertTrue(self.get_values(response).startswith('\n\nAddress:\t1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA\nBalance:\t0.0000000000 BTC (+0.0005355700 BTC / -0.0005355700 BTC)')) + self.assertTrue(self.get_values(response).startswith('\n\nAddress:\t1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA\nBalance:\t0.0002126800 BTC (+0.0007482500 BTC / -0.0005355700 BTC)')) + except Exception: - self.assertEqual(self.get_values(response), 'Not a valid BTC address') + self.assertEqual(self.get_values(response), 'Not a valid BTC address, or Balance has changed') def test_btc_scam_check(self): query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}