Skip to content

Commit 1f095c3

Browse files
committed
pep8
1 parent 378eeba commit 1f095c3

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

tests/feature/test_cucumber_json.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def test_step_trace(testdir):
3838
scenario-failing-tag
3939
scenario-outline-passing-tag
4040
feature-tag
41-
""")
42-
)
41+
"""))
4342
testdir.makefile('.feature', test=textwrap.dedent("""
4443
@feature-tag
4544
Feature: One passing scenario, one failing scenario

tests/feature/test_report.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ def __cmp__(self, other):
2323

2424
def test_step_trace(testdir):
2525
"""Test step trace."""
26-
testdir.makefile(".ini", pytest="""
26+
testdir.makefile(".ini", pytest=textwrap.dedent("""
2727
[pytest]
2828
markers = scenario-passing-tag
29-
"""
30-
)
29+
"""))
3130
feature = testdir.makefile('.feature', test=textwrap.dedent("""
3231
@feature-tag
3332
Feature: One passing scenario, one failing scenario

tests/feature/test_tags.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ def test_tag_with_spaces(testdir):
139139
[pytest]
140140
markers =
141141
test with spaces
142-
""")
143-
)
142+
"""))
144143
testdir.makeconftest("""
145144
import pytest
146145

0 commit comments

Comments
 (0)