From 32b8d9c1a768455f7eb283b2bc7a89314cd7a6d9 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 27 Feb 2018 18:18:48 -0600 Subject: [PATCH] fixed broken test --- onionr/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onionr/tests.py b/onionr/tests.py index 6a70186c..c7659cf1 100755 --- a/onionr/tests.py +++ b/onionr/tests.py @@ -121,6 +121,8 @@ class OnionrTests(unittest.TestCase): logger.info('Running address add+remove test') import core myCore = core.Core() + if not os.path.exists('data/address.db'): + myCore.createAddressDB() if myCore.addAddress('facebookcorewwwi.onion') and not myCore.removeAddress('invalid'): if myCore.removeAddress('facebookcorewwwi.onion'): self.assertTrue(True)