fixed broken test
parent
fc5d702706
commit
32b8d9c1a7
|
@ -121,6 +121,8 @@ class OnionrTests(unittest.TestCase):
|
||||||
logger.info('Running address add+remove test')
|
logger.info('Running address add+remove test')
|
||||||
import core
|
import core
|
||||||
myCore = core.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.addAddress('facebookcorewwwi.onion') and not myCore.removeAddress('invalid'):
|
||||||
if myCore.removeAddress('facebookcorewwwi.onion'):
|
if myCore.removeAddress('facebookcorewwwi.onion'):
|
||||||
self.assertTrue(True)
|
self.assertTrue(True)
|
||||||
|
|
Loading…
Reference in New Issue