1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

vcr/unittest: Simplify file layout

.. and make "from vcr.unittest import VCRTestCase" work again.
This commit is contained in:
Sebastian Pipping
2023-06-02 19:48:31 +02:00
parent ce234e503f
commit d613a814d3
5 changed files with 3 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ you can hook on ``_get_vcr``, for example:
See
`the source
<https://github.com/kevin1024/vcrpy/blob/master/vcr/unittest/testcase.py>`__
<https://github.com/kevin1024/vcrpy/blob/master/vcr/unittest.py>`__
for the default implementations of these methods.
If you implement a ``setUp`` method on your test class then make sure to call

View File

@@ -3,7 +3,7 @@ from unittest import TextTestRunner, defaultTestLoader
from unittest.mock import MagicMock
from urllib.request import urlopen
from ..testcase import VCRTestCase
from vcr.unittest import VCRTestCase
def test_defaults():

View File

@@ -2,7 +2,7 @@ import inspect
import os
import unittest
from .. import VCR
from .config import VCR
class VCRMixin: