aboutsummaryrefslogtreecommitdiff
path: root/budget/tests
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-06-28 21:36:02 +0200
committerGitHub <noreply@github.com>2017-06-28 21:36:02 +0200
commit0e374cd5e0ef5a9be67084365f91de2ab84f636c (patch)
treed6b512090f6cadb9369596af666ef1bf198b63b7 /budget/tests
parent603ac10d6eb485c9a95f253a14d4967f4aafbfa3 (diff)
downloadihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.zip
ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.gz
ihatemoney-mirror-0e374cd5e0ef5a9be67084365f91de2ab84f636c.tar.bz2
Make all imports relative (#229)
* Make all imports relative * Change the way the application runs in the Makefile * Import the default settings relatively * Fix manage.py imports
Diffstat (limited to 'budget/tests')
-rw-r--r--budget/tests/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/tests/tests.py b/budget/tests/tests.py
index 16aaae9..386920f 100644
--- a/budget/tests/tests.py
+++ b/budget/tests/tests.py
@@ -17,9 +17,9 @@ from flask import session
if 'IHATEMONEY_SETTINGS_FILE_PATH' in os.environ:
del os.environ['IHATEMONEY_SETTINGS_FILE_PATH']
-import run
-import models
-import utils
+from .. import run
+from .. import models
+from .. import utils
__HERE__ = os.path.dirname(os.path.abspath(__file__))