madcowfred/evething — pull request #59 by smickles (2014-06-06 19:53:31+00:00)
Title: Working django tests

I'm not sure if getting the django testsuite working is useful to you, but this is what I did to get it working.

From what I can tell, this `__init__.py` should not be there in the general way of things. If it needs to be there for something evething-specific, I'd be interested to know since I haven't found such a thing yet.

Having this `__init__.py` there leads to the following error when you try to run tests in the django way.
```error
(evething)[smickles@localhost evething]$ python manage.py test thing
Creating test database for alias 'default'...
Creating test database for alias 'import'...
E
======================================================================
ERROR: evething.thing.tests.test_tests (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: evething.thing.tests.test_tests
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
__import__(name)
ImportError: No module named thing.tests.test_tests
```