mirror of https://github.com/MISP/misp-modules
parent
fd711475dd
commit
6a041bc3ee
|
@ -89,7 +89,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
try:
|
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.0000000000 BTC (+0.0005355700 BTC / -0.0005355700 BTC)'))
|
||||||
except Exception:
|
except Exception:
|
||||||
self.assertEqual(self.get_errors(response), 'Not a valid BTC address')
|
self.assertEqual(self.get_values(response), 'Not a valid BTC address')
|
||||||
|
|
||||||
def test_btc_scam_check(self):
|
def test_btc_scam_check(self):
|
||||||
query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}
|
query = {"module": "btc_scam_check", "btc": "1ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA"}
|
||||||
|
|
Loading…
Reference in New Issue