From e75adb3d4864578e0addc7287a0b48f3d73be138 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 5 Oct 2019 18:55:40 -0500 Subject: [PATCH] fixed vanity test --- tests/test_vanity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_vanity.py b/tests/test_vanity.py index 78585b19..cb294780 100644 --- a/tests/test_vanity.py +++ b/tests/test_vanity.py @@ -13,6 +13,6 @@ class TestBasic(unittest.TestCase): def test_basic(self): pair = vanityonionr.find_multiprocess("onion") b = niceware.bytes_to_passphrase(pair[0]) - self.assertIn("onion", b) + self.assertTrue(b[0].startswith("onion")) unittest.main() \ No newline at end of file