From bc60b6bfc0915d62443eeaa095869594fcfaca00 Mon Sep 17 00:00:00 2001 From: Arinerron Date: Mon, 14 May 2018 23:16:40 -0700 Subject: [PATCH] Fix unit tests --- Makefile | 2 ++ onionr/tests.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a7396df..23b32ccc 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ uninstall: sudo rm -f /usr/bin/onionr test: + @./RUN-LINUX.sh stop + @sleep 1 @rm -rf onionr/data-backup @mv onionr/data onionr/data-backup | true > /dev/null 2>&1 -@cd onionr; ./tests.py; ./cryptotests.py; diff --git a/onionr/tests.py b/onionr/tests.py index d78b128d..db62dcb3 100755 --- a/onionr/tests.py +++ b/onionr/tests.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . ''' -import unittest, sys, os, base64, tarfile, shutil, simplecrypt, logger, btc +import unittest, sys, os, base64, tarfile, shutil, simplecrypt, logger #, btc class OnionrTests(unittest.TestCase): def testPython3(self):