Start testing

I really want to dig into testing, especially of Django apps. I don't really
know, if I want to conquer TestDrivenDevelopment, but at least I don't want to
click all stuff by hand anymore...
Redirect home -> login
Tests for oweb.views.updates.item_update
Tests for oweb.views.updates.create_account
Tests for oweb.views.updates.account_settings_commit
Tests for oweb.views.updates.planet_settings_commit

And various renaming/typos/stuff
Tests for oweb.views.updates.planet_create
Tests for oweb.views.updates.planet_delete

Added tests for tampered POST data
Tests for oweb.views.update.account_delete
Tests for oweb.views.updates.moon_create
Tests for oweb.views.updates.moon_settings_commit
Tests for oweb.views.updates.moon_delete
Yeah, this took long...

I had problems getting the fixture to work. I finally found out, that the in-app signals are causing the trouble, and I found a solution here: http://stackoverflow.com/questions/3499791/how-do-i-prevent-fixtures-from-conflicting-with-django-post-save-signal-code

After applying the suggested decorator, everything worked like a charm. So let's implement some test!

Oh, the dump-command
$ python manage.py dumpdata oweb auth.User --indent=4 --natural -e contenttypes > [path to fixture dir/fixture_name]
First usage of the fixture
Make the LoginRequiredTests work
Finished oweb.tests.views.OWebViewAccountOwnerTests.test_account_settings_commit

And I really found the first real usage of these tests! Yeah!
Finish AccountOwnerTests
This is really work in progress

Let's modify the middleware, so that it returns real HTTP answers, but not 404 on all occasions
Re-order the tests
New test structure