]> khamidou — GitHub mirrors - vcrpy.git/commit
fix with_current_defaults causing TypeError
authorSam Stavinoha <smlstvnh@gmail.com>
Wed, 1 Apr 2015 02:05:12 +0000 (21:05 -0500)
committerSam Stavinoha <smlstvnh@gmail.com>
Wed, 1 Apr 2015 02:08:26 +0000 (21:08 -0500)
commite3f2bc8369418ccb03ae21aea3576486f586ef93
tree079268c5bb057d18fa069bcaf3236c1ad4be7a71
parentfc4e985ee93a9180793058a33d5ed4e759c2d7cb
fix with_current_defaults causing TypeError

The from_args() method in cassette.py was
throwing a TypeError when calling

    use_cassette(..., with_current_defaults=True)
    ...
    TypeError: from_args() takes exactly 3 arguments (4 given)

The path was then being passed to use() twice.
vcr/config.py