Skip to content

Commit a186414

Browse files
committed
Remove supposedly useless test?
That test is now breaking in pytest 4.6, and it is a weird one anyway
1 parent 545c6ca commit a186414

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tests/feature/test_tags.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33

44
import pytest
55

6-
from pytest_bdd import scenario, feature
7-
8-
9-
def test_tags(request):
10-
"""Test tags for the scenario and the feature."""
11-
@scenario(
12-
'tags.feature',
13-
'Tags'
14-
)
15-
def test():
16-
pass
17-
18-
assert test.__scenario__.tags == set(['scenario_tag_1', 'scenario_tag_2'])
19-
assert test.__scenario__.feature.tags == set(['feature_tag_1', 'feature_tag_2'])
20-
test(request)
6+
from pytest_bdd import feature
217

228

239
def test_tags_selector(testdir):

0 commit comments

Comments
 (0)