From 0e374cd5e0ef5a9be67084365f91de2ab84f636c Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Wed, 28 Jun 2017 21:36:02 +0200 Subject: 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 --- budget/tests/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'budget/tests') 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__)) -- cgit v1.1