aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-19 14:33:07 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-08-19 14:33:07 -0700
commitbd0b5daa44691c8cf72ef2ff5a8cdc3b01490722 (patch)
tree5bb34fcd88d2f04b002097944533f67c5cd5bddb /mediagoblin/tests
parente7b8059f17c98ee88d933af52b0c4d858e882e8e (diff)
downloadmediagoblin-bd0b5daa44691c8cf72ef2ff5a8cdc3b01490722.tar.lz
mediagoblin-bd0b5daa44691c8cf72ef2ff5a8cdc3b01490722.tar.xz
mediagoblin-bd0b5daa44691c8cf72ef2ff5a8cdc3b01490722.zip
-skip persona test is requests is not installed
- should use request.urlgen for location
Diffstat (limited to 'mediagoblin/tests')
-rw-r--r--mediagoblin/tests/test_persona.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/tests/test_persona.py b/mediagoblin/tests/test_persona.py
index ce795258..919877c9 100644
--- a/mediagoblin/tests/test_persona.py
+++ b/mediagoblin/tests/test_persona.py
@@ -18,6 +18,8 @@ import pkg_resources
import pytest
import mock
+pytest.importorskip("requests")
+
from mediagoblin import mg_globals
from mediagoblin.db.base import Session
from mediagoblin.tests.tools import get_app