fixed vanity test

master
Kevin Froman 2019-10-05 18:55:40 -05:00
parent 7e9fe03235
commit e75adb3d48
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ class TestBasic(unittest.TestCase):
def test_basic(self): def test_basic(self):
pair = vanityonionr.find_multiprocess("onion") pair = vanityonionr.find_multiprocess("onion")
b = niceware.bytes_to_passphrase(pair[0]) b = niceware.bytes_to_passphrase(pair[0])
self.assertIn("onion", b) self.assertTrue(b[0].startswith("onion"))
unittest.main() unittest.main()