From 1e6456bf54bb37743d22fe564b475f10bc13281e Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 30 Jun 2014 22:50:56 +0200 Subject: Initial commit. --- tests/conftest.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/conftest.py (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..9226228 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,19 @@ +import pytest + +from pluginbase import PluginBase + + +@pytest.fixture(scope='function') +def base(): + return PluginBase(package='dummy.plugins') + + +@pytest.fixture(scope='function') +def dummy_internal_name(): + return 'pluginbase._internalspace._sp7bb7d8da1d24ae5a5205609c951b8be4' + + +@pytest.fixture(scope='function') +def source(base): + return base.make_plugin_source(searchpath=['./plugins'], + identifier='demo') -- cgit v1.2.1