Convenience functions for callable hooks
[mediagoblin.git] / mediagoblin / tests / conftest.py
CommitLineData
5c2ece74
CAW
1from mediagoblin.tests import tools
2
3import pytest
4
5@pytest.fixture()
6def test_app(request):
7 """
8 py.test fixture to pass sandboxed mediagoblin applications into tests that
9 want them.
10
11 You could make a local version of this method for your own tests
12 to override the paste and config files being used by passing them
13 in differently to get_app.
14 """
15 return tools.get_app(request)