Ticket #33 (closed defect: fixed)
South doesn't pass unit tests
| Reported by: | grail@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | commands | Version: | 0.3 |
| Keywords: | Cc: |
Description
When I install South into my application, it fails "./manage test south" with this error:
<pre>...... ! Migration fakeapp:0001_jam probably doesn't exist.
- Traceback:
E.....
======================================================================
ERROR: test_get_migration (south.tests.logic.TestMigrationLogic?)
Traceback (most recent call last):
File "/Users/alex/Documents/src/portal/south/tests/logic.py", line 150, in test_get_migration
self.assertRaises(ValueError?, migration.get_migration, app, "0001_jam")
File "/Library/Frameworks/Python?.framework/Versions/2.5/lib/python2.5/unittest.py", line 320, in failUnlessRaises
callableObj(*args, kwargs)
File "/Users/alex/Documents/src/portal/south/migration.py", line 78, in get_migration
module = import(app.name + "." + name, , , Migration?)
ImportError?: No module named 0001_jam
Ran 12 tests in 0.181s
</pre>

Oops. "Preview" is the other button.
I'm off to try the latest version - the version drop down says that there's a 0.4 hanging around somewhere... watch this space.