Skip to content

Commit

Permalink
k8s - vcr tests use method matcher to ensure proper replay (cloud-cus…
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilt authored Jan 24, 2019
1 parent 87be4df commit 59061af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/c7n_kube/tests/common_kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _get_vcr_kwargs(self):
def _get_vcr(self, **kwargs):
myvcr = vcr.VCR(**kwargs)
myvcr.register_matcher('kubematcher', self._kube_matcher)
myvcr.match_on = ['kubematcher']
myvcr.match_on = ['kubematcher', 'method']
return myvcr

def _get_cassette_library_dir(self):
Expand Down

0 comments on commit 59061af

Please sign in to comment.