diff options
-rw-r--r-- | tests/conftest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 7346d31..3291bbe 100644 --- a/tests/conftest.py +++ b/tests/conftest.py | |||
@@ -27,19 +27,19 @@ def api2(): | |||
27 | def api_anonymous(): | 27 | def api_anonymous(): |
28 | return _api(access_token=None) | 28 | return _api(access_token=None) |
29 | 29 | ||
30 | @pytest.fixture() | 30 | @pytest.fixture |
31 | def status(api): | 31 | def status(api): |
32 | _status = api.status_post('Toot!') | 32 | _status = api.status_post('Toot!') |
33 | yield _status | 33 | yield _status |
34 | api.status_delete(_status['id']) | 34 | api.status_delete(_status['id']) |
35 | 35 | ||
36 | @pytest.fixture() | 36 | @pytest.fixture |
37 | def status2(api): | 37 | def status2(api): |
38 | _status = api.status_post('Toot, too!') | 38 | _status = api.status_post('Toot, too!') |
39 | yield _status | 39 | yield _status |
40 | api.status_delete(_status['id']) | 40 | api.status_delete(_status['id']) |
41 | 41 | ||
42 | @pytest.fixture() | 42 | @pytest.fixture(scope="module") |
43 | def vcr_config(): | 43 | def vcr_config(): |
44 | return dict( | 44 | return dict( |
45 | match_on = ['method', 'path', 'query', 'body'], | 45 | match_on = ['method', 'path', 'query', 'body'], |