Refactor data posts into one do_post function.
authorBrett Smith <brettcsmith@brettcsmith.org>
Wed, 21 Mar 2012 02:07:32 +0000 (22:07 -0400)
committerBrett Smith <brettcsmith@brettcsmith.org>
Wed, 21 Mar 2012 02:07:32 +0000 (22:07 -0400)
commit31dd6013b895cbd34b022b309eddb1c2d61503a9
treeaff9eb91af6c888f08da1b527ca3c78e2bd48ff2
parent176f207b638a5c7ca403173627f1bc47bc31266b
Refactor data posts into one do_post function.

All the data posts in these tests had a lot of common code.  Putting all
that into a function makes it easier to write more tests (which I'll be
doing in a bit) and see what's really being tested.
mediagoblin/tests/test_submission.py