Skip to content

Commit 43d7800

Browse files
committed
Move fixtures to conftest.
1 parent c320090 commit 43d7800

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed
File renamed without changes.

tests/test_paths.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from flask_smore.paths import rule_to_path, rule_to_params
44

5-
from tests.fixtures import app # noqa
6-
75
def make_rule(app, path, **kwargs):
86
@app.route(path, **kwargs)
97
def view():

tests/test_swagger.py

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
from flask_smore import doc, use_kwargs, marshal_with
1212
from flask_smore.apidoc import ViewConverter, ResourceConverter
1313

14-
from tests.fixtures import app, models, schemas # noqa
15-
1614
@pytest.fixture
1715
def spec():
1816
return APISpec(

tests/test_views.py

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from flask_smore.views import MethodResource
88
from flask_smore import doc, use_kwargs, marshal_with
99

10-
from tests.fixtures import app, client, models, schemas # noqa
11-
1210
class TestFunctionViews:
1311

1412
def test_use_kwargs(self, app, client):

0 commit comments

Comments
 (0)