Skip to content

Commit

Permalink
fix tests for -rs flag
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tal committed Aug 9, 2016
1 parent f68275c commit 8820aa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_setuphelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_pytest_command_class():
with mock.patch.object(setuphelpers.TestCommand, "finalize_options"):
pytest_cls.finalize_options(self)
assert self.test_suite is True
assert self.test_args == ["-v", "-x", "-rx"]
assert self.test_args == ["-v", "-x", "-rx", "-rs"]


def test_pytest_command_class__all_options():
Expand All @@ -74,8 +74,8 @@ def test_pytest_command_class__all_options():
with mock.patch.object(setuphelpers.TestCommand, "finalize_options"):
py_cls.finalize_options(self)
assert self.test_suite is True
assert self.test_args == ["-v", "-x", "--pdb", "-rx", "--cov", "foo",
"--cov-report", "term-missing", "bar"]
assert self.test_args == ["-v", "-x", "--pdb", "-rx", "-rs", "--cov",
"foo", "--cov-report", "term-missing", "bar"]


def test_nose_command_class():
Expand Down

0 comments on commit 8820aa3

Please sign in to comment.