diff --git a/tests/test_vanity.py b/tests/test_vanity.py new file mode 100644 index 00000000..4f17449f --- /dev/null +++ b/tests/test_vanity.py @@ -0,0 +1,18 @@ +import sys, os +sys.path.append(".") +sys.path.append("onionr/") +import unittest +import vanityonionr + +import mnemonic +m = mnemonic.Mnemonic("english") +wordlist = m.wordlist + +class TestBasic(unittest.TestCase): + + def test_basic(self): + pair = vanityonionr.find_multiprocess("onion") + b = m.to_mnemonic(pair[0]) + self.assertIn("onion", b) + +unittest.main() \ No newline at end of file