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
@@ -82,7 +82,7 @@ instances, based on a marker, you can do it using :ref:`pytest.mark`` and
import pytest
import unittest
@pytest.factory()
@pytest.fixture()
def db():
class DummyDB:
x = 1