From 4a20045787cabeda03a0b7938013e6f9c13459bd Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Fri, 16 Apr 2021 16:47:20 +0200 Subject: [PATCH] fix: [tests] Fixed btc_steroids test assertion --- tests/test_expansions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_expansions.py b/tests/test_expansions.py index 88f974d..6017465 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -115,7 +115,7 @@ class TestExpansions(unittest.TestCase): 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, or Balance has changed') + self.assertTrue(self.get_values(response).startswith('Not a valid BTC address')) def test_btc_scam_check(self): query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}