aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_api.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-08 10:22:13 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-08 11:54:44 +0100
commita5cf95c5ad5f898dede89075cbd61c52fb285e8e (patch)
treeb076cb29b95b5e7331e613e7cfef53edd6c784cd /mediagoblin/tests/test_api.py
parent7f4e42b0b15aefcc885c9aacefac3a76f2f7b5ad (diff)
downloadmediagoblin-a5cf95c5ad5f898dede89075cbd61c52fb285e8e.tar.lz
mediagoblin-a5cf95c5ad5f898dede89075cbd61c52fb285e8e.tar.xz
mediagoblin-a5cf95c5ad5f898dede89075cbd61c52fb285e8e.zip
Do not fail is a user exists already
When the tests want to create a new user, don't fail if it already exists and just reuse the existing one. This allows us to run tests without dumping the whole database if that is not needed for the tests. The upcoming tests for test_edit will make use of this. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/tests/test_api.py')
0 files changed, 0 insertions, 0 deletions