1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Josh Peak
accffa8ea2 Correct mock imports. Fixes #504 (#505)
* Correct mock imports. Fixes #504

Update changelog

Revert accidental import deletion

* Remove move dependency that was masking error from tox.ini
2019-12-20 22:08:25 +11:00
Josh Peak
f07083e7cc Fix Logo alignment for PYPI description 2019-12-20 12:11:01 +11:00
12 changed files with 16 additions and 17 deletions

View File

@@ -10,7 +10,6 @@ VCR.py 📼
.. image:: https://vcrpy.readthedocs.io/en/latest/_images/vcr.svg
:alt: vcr.py logo
:align: right
This is a Python version of `Ruby's VCR

View File

@@ -9,8 +9,10 @@ All help in providing PRs to close out bug issues is appreciated. Even if that i
- UNRELEASED
- ...
- 4.0.2
- Fix mock imports as reported in #504 by @llybin. Thank you.
- 4.0.1
- Fix logo alignment for PyPI
- 4.0.0
- Remove Python2 support (@hugovk)
- Add Python 3.8 TravisCI support (@neozenith)

View File

@@ -1,13 +1,12 @@
import contextlib
import copy
import inspect
import mock
import os
import http.client as httplib
import inspect
import os
from unittest import mock
import pytest
import yaml
from vcr.cassette import Cassette
from vcr.errors import UnhandledHTTPRequestError
from vcr.patch import force_reset

View File

@@ -1,4 +1,4 @@
import mock
from unittest import mock
import pytest

View File

@@ -11,7 +11,7 @@ from vcr.filters import (
from vcr.request import Request
import gzip
import json
import mock
from unittest import mock
import zlib

View File

@@ -1,5 +1,5 @@
import itertools
import mock
from unittest import mock
import pytest

View File

@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
import mock
from unittest import mock
import pytest

View File

@@ -1,4 +1,4 @@
import mock
from unittest import mock
from vcr.stubs import VCRHTTPSConnection
from vcr.cassette import Cassette

View File

@@ -1,4 +1,4 @@
import mock
from unittest import mock
import os
import pytest

View File

@@ -63,7 +63,6 @@ commands =
./runtests.sh --cov=./vcr --cov-branch --cov-report=xml --cov-append {posargs}
deps =
Flask
mock
pytest
pytest-httpbin
pytest-cov

View File

@@ -2,7 +2,7 @@ import logging
from .config import VCR
from logging import NullHandler
__version__ = "4.0.0"
__version__ = "4.0.2"
logging.getLogger(__name__).addHandler(NullHandler())

View File

@@ -2,7 +2,7 @@
import contextlib
import functools
import itertools
import mock
from unittest import mock
from .stubs import VCRHTTPConnection, VCRHTTPSConnection
import http.client as httplib