Skip to content

Commit 0d62afd

Browse files
committed
Keep mark test suite separately
1 parent 6653c6f commit 0d62afd

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

tests/test_fixtures.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ def test_accept_jsonp(self, accept_jsonp):
2323
assert accept_jsonp == [('Accept', 'application/json-p')]
2424

2525

26-
class TestAppMarker:
27-
28-
@pytest.mark.app(debug=False)
29-
def test_not_debug_app(self, app):
30-
assert not app.debug, 'Ensure the app not in debug mode'
31-
32-
@pytest.mark.app(foo=42)
33-
def test_update_application_config(self, config):
34-
assert config['FOO'] == 42
35-
36-
3726
class TestJSONResponse:
3827

3928
def test_json_response(self, client, accept_json):

tests/test_markers.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
import pytest
4+
5+
6+
class TestAppMarker:
7+
8+
@pytest.mark.app(debug=False)
9+
def test_not_debug_app(self, app):
10+
assert not app.debug, 'Ensure the app not in debug mode'
11+
12+
@pytest.mark.app(foo=42)
13+
def test_update_application_config(self, config):
14+
assert config['FOO'] == 42

0 commit comments

Comments
 (0)