From a6423c303d1ab63540ec5626bc112ad51ad4869f Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 11 Mar 2019 22:31:10 +1300 Subject: [PATCH] rename test file and set to run from subdir. --- tests/{general.py => test_initialize.py} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename tests/{general.py => test_initialize.py} (96%) diff --git a/tests/general.py b/tests/test_initialize.py similarity index 96% rename from tests/general.py rename to tests/test_initialize.py index b4f6e7df..8985f84a 100755 --- a/tests/general.py +++ b/tests/test_initialize.py @@ -1,16 +1,17 @@ #! /usr/bin/env python from __future__ import print_function +import datetime +import os +import sys +sys.path.extend(["..","."]) + import eol eol.check() import cleanup cleanup.clean(cleanup.FOLDER_STRUCTURE) -import datetime -import os -import sys - import core from core import logger, main_db from core.auto_process import comics, games, movies, music, tv