From d83cd963862a3c85cbe57c36add4adc71adbbd63 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Wed, 12 Oct 2016 23:39:28 +0300 Subject: [PATCH] Fixing Django tests * Ancient tests removed (noone needs Django 1.1) * norm() used to unify test for Windows and Linux * Modules that do not exist removed from manage.py * Verbosity increased for django_manage script --- python/helpers/pycharm/django_test_manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/helpers/pycharm/django_test_manage.py b/python/helpers/pycharm/django_test_manage.py index 9ba239666685..f06280a909a6 100644 --- a/python/helpers/pycharm/django_test_manage.py +++ b/python/helpers/pycharm/django_test_manage.py @@ -42,8 +42,8 @@ if not manage_file: try: __import__(manage_file) -except ImportError: - print ("There is no such manage file " + str(manage_file) + "\n") +except ImportError as e: + print ("Failed to import" + str(manage_file) + " in ["+ ",".join(sys.path) +"] " + str(e)) settings_file = os.getenv('DJANGO_SETTINGS_MODULE') if not settings_file: