rename pytest.factory usages into pytest.fixture ones

This commit is contained in:
holger krekel
2012-10-05 10:21:35 +02:00
parent 439cc1238f
commit 9251e747af
8 changed files with 92 additions and 78 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import pytest
@pytest.factory("session")
@pytest.fixture("session")
def setup(request):
setup = CostlySetup()
request.addfinalizer(setup.finalize)