Show More
@@ -770,3 +770,13 b' def has_repobundlerepo():' | |||||
770 | @check('repofncache', 'repository has an fncache') |
|
770 | @check('repofncache', 'repository has an fncache') | |
771 | def has_repofncache(): |
|
771 | def has_repofncache(): | |
772 | return 'fncache' in getrepofeatures() |
|
772 | return 'fncache' in getrepofeatures() | |
|
773 | ||||
|
774 | @check('vcr', 'vcr http mocking library') | |||
|
775 | def has_vcr(): | |||
|
776 | try: | |||
|
777 | import vcr | |||
|
778 | vcr.VCR | |||
|
779 | return True | |||
|
780 | except (ImportError, AttributeError): | |||
|
781 | pass | |||
|
782 | return False |
General Comments 0
You need to be logged in to leave comments.
Login now