aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_modelmethods.py
Commit message (Collapse)AuthorAgeFilesLines
* Really removing nosetests things now! all assert_whatever removedChristopher Allan Webber2013-04-061-3/+1
|
* Switch test_app generation over to use py.test fixtures.Christopher Allan Webber2013-04-041-37/+58
| | | | | | | | | | | | By doing this, we can take advantage of py.test's ability to create temporary directories that are then cleaned up later during testing. This helps for sandboxing things. This also involves a ton of changes: - Changing the get_app stuff appropriately, getting rid of the setup_fresh_app decorator - Making said fixture - Switching over a billion tests to use it
* These tests need to have a MediaGoblin app setup so they can connect to the db!Christopher Allan Webber2013-04-031-0/+1
| | | | Thanks to py.test --boxed for helping discover that ;)
* All mediagoblin tests now pass with py.test (switched setUp to setup)Christopher Allan Webber2013-04-031-1/+1
|
* Some tests for media_data, yeah!Elrond2013-02-011-0/+17
| | | | | | | | One in the submissions, that posts a jpg with gps data. One in the modelmethods to test some behaviours. The later test fails. Fixes coming up.
* Fix reference of get_test_app->get_app in test_modelmethodsChristopher Allan Webber2013-01-251-2/+2
| | | | | (This changed in master while this test was being written; correcting post-merge.)
* New mediaentry slug tests now pass!Christopher Allan Webber2013-01-231-0/+130
- fixed some issues with "whacking uuid junk on the slug" - uuid4() -> uuid.uuid4() so that mock will work right - added all the tests!