Re: Import error when unit testing with django.test.client on django 1.1.1

2011-11-24 Thread Erlendur Hákonarson
Thanks Xavier I will research this better but the path for the settings file is wrong in this error, it should be 'bo.settings' not 'DER.settings' but that might be because the tests do not have my project in their path Thanks again Erlendur -- You received this message because you are subscrib

Re: Import error when unit testing with django.test.client on django 1.1.1

2011-11-23 Thread xordoquy
Hi The error is: > ImportError: Could not import settings 'DER.settings' (Is it on > sys.path? Does it have syntax errors?): No module named DER.settings > ERROR: Module: Test could not be imported (file: > C:TFSSrc_BranchDER_UnitTestingboteststestListsTest.py). You should google a bit on how to

Import error when unit testing with django.test.client on django 1.1.1

2011-11-23 Thread Erlendur Hákonarson
I am trying to set up unit tests on my project but when I try to import anything from f.e. django.test then I get this error: Traceback (most recent call last): File "C:\eclipse\plugins\org.python.pydev.debug_2.2.2.2011082312\pysrc\pydev_runfiles.py", line 307, in __get_module_from_str mod