fixed vanity test

This commit is contained in:
Kevin Froman 2019-10-05 18:55:40 -05:00
parent 7e9fe03235
commit e75adb3d48

View File

@ -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()