diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2019-06-07 12:58:51 +0200 |
---|---|---|
committer | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2019-06-15 06:48:00 +0200 |
commit | 2b92fee1c315469c3f257673a508e51a1f1a6230 (patch) | |
tree | 6341cac5eed636cac11d10f27592488968121129 /testing/test_cacheprovider.py | |
parent | 240828d91245bd39d058f9d29ad5f2360e95368d (diff) | |
download | pytest-2b92fee1c315469c3f257673a508e51a1f1a6230.tar.gz |
initial conversion of exit codes to enum
Diffstat (limited to 'testing/test_cacheprovider.py')
-rw-r--r-- | testing/test_cacheprovider.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_cacheprovider.py b/testing/test_cacheprovider.py index a2e701740..cbba27e5f 100644 --- a/testing/test_cacheprovider.py +++ b/testing/test_cacheprovider.py @@ -6,7 +6,7 @@ import textwrap import py import pytest -from _pytest.main import EXIT_NOTESTSCOLLECTED +from _pytest.main import ExitCode pytest_plugins = ("pytester",) @@ -757,7 +757,7 @@ class TestLastFailed: "* 2 deselected in *", ] ) - assert result.ret == EXIT_NOTESTSCOLLECTED + assert result.ret == ExitCode.NO_TESTS_COLLECTED def test_lastfailed_no_failures_behavior_empty_cache(self, testdir): testdir.makepyfile( |