File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ lint-type:
1212
1313.PHONY : test test_norecord test_novcr vcr_rerecord
1414test :
15- coverage run -m py.test -v .
15+ coverage run -m pytest -v .
1616
1717test_norecord :
1818 # error if VCR recording for a web request is missing (useful on CI)
19- coverage run -m py.test -v . --vcr-record=none
19+ coverage run -m pytest -v . --vcr-record=none
2020
2121test_novcr :
2222 # disable VCR completely; useful to check if recordings are outdated
23- coverage run -m py.test -v . --disable-vcr
23+ coverage run -m pytest -v . --disable-vcr
2424
2525vcr_rerecord :
2626 # clear VCR cassettes and run tests to record fresh ones
2727 rm -rf ./test/vcr/*
28- coverage run -m py.test -v . --vcr-record=all
28+ coverage run -m pytest -v . --vcr-record=all
2929
3030.PHONY : coverage_report coverage_html coverages
3131coverage_report :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Assuming your test files are in the ``test`` folder in your project directory::
3333
3434You can run your test suite with::
3535
36- py.test -v test/
36+ pytest -v test/
3737
3838.. __ : https://docs.pytest.org/en/stable/getting-started.html
3939
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class MockIRCServer:
108108 ``blocking`` arguments to the instance methods below.
109109
110110 The :class:`~sopel.tests.factories.IRCFactory` factory can be used to
111- create such mock object, either directly or by using ``py.test `` and the
111+ create such mock object, either directly or by using ``pytest `` and the
112112 :func:`~sopel.tests.pytest_plugin.ircfactory` fixture.
113113
114114 .. versionadded:: 7.1
@@ -361,7 +361,7 @@ class MockUser:
361361 :param str host: user's host
362362
363363 The :class:`~sopel.tests.factories.UserFactory` factory can be used to
364- create such mock object, either directly or by using ``py.test `` and the
364+ create such mock object, either directly or by using ``pytest `` and the
365365 :func:`~sopel.tests.pytest_plugin.userfactory` fixture.
366366 """
367367 def __init__ (self , nick = None , user = None , host = None ):
You can’t perform that action at this time.
0 commit comments