Skip to content

Commit 0314e8b

Browse files
sarahbxlukas-bednar
authored andcommitted
Update pytest skip
msg was deprecated in pytest 7.0.0 https://github.com/pytest-dev/pytest/releases/tag/7.0.0
1 parent cbae844 commit 0314e8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pytest>=2.8.7
1+
pytest>=7.0.0
22
pytest-cov
33
pytest-docker
44
docker-compose

tests/test_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def provisioned_hosts(docker_ip, docker_services):
2020
return hosts
2121

2222

23-
@pytest.mark.skip(msg="Not enough tests in module to justify running")
23+
@pytest.mark.skip(reason="Not enough tests in module to justify running")
2424
def test_echo(provisioned_hosts):
2525
ubuntu_host = provisioned_hosts['ubuntu']
2626
ubuntu_host.executor().run_cmd(['echo', 'hello'])

0 commit comments

Comments
 (0)