aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_misc.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve runtime of one test.Elrond2013-01-291-4/+10
| | | | Do not commit so often. flushing is enough.
* Failing testcase for issue 611.Elrond2013-01-291-1/+51
| | | | | | | | | | This currently fails (with foreign key constrain error): 1. Have user A and B. 2. User B creates media M. 3. User A post a comment on M. 4. User A deletes his own account. The test is a little bit wider.
* Rename get_test_app to get_app.Elrond2013-01-181-2/+2
| | | | | | | nosetests runs everything that even vaguely looks like a test case... even our get_test_app. And as it is imported everywhere... it is run everywhere as a test case. Renaming it saves us about 10+ tests and a few seconds of time.
* tests: More instances where a fresh database is not neededSebastian Spaeth2013-01-081-7/+5
| | | | Save test runtime by not dumping the databases when not needed.
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Bug #685: Add failing unit testElrond2011-12-031-0/+26
The simplest way to reproduce Bug #685 is to ask for a non existent page. This should return a proper 404. It currently doesn't. So add a unit test exactly for this. This unit test fails currently! It will fail until the bug gets fixed.