hghave: list the module needed for the `vcr` check
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 26 Jan 2021 17:25:30 -0500
changeset 46393 66e8e279133b
parent 46392 f25c770c217b
child 46394 8477c91b5e8e
hghave: list the module needed for the `vcr` check I'm tired of having to look up modules each time I setup a system, and try to distinguish between similar package names to get the right one. Now that the search API has been disabled, it's even harder. There are other python packages here that should be listed like this, but this is the one that came up missing today, so it's a start. Differential Revision: https://phab.mercurial-scm.org/D9879
tests/hghave.py
--- a/tests/hghave.py	Tue Jan 26 00:19:36 2021 +0100
+++ b/tests/hghave.py	Tue Jan 26 17:25:30 2021 -0500
@@ -1034,7 +1034,7 @@
     return matchoutput('sqlite3 -version', br'^3\.\d+')
 
 
-@check('vcr', 'vcr http mocking library')
+@check('vcr', 'vcr http mocking library (pytest-vcr)')
 def has_vcr():
     try:
         import vcr