Skip to content

Commit 4ea32fc

Browse files
authored
No need for the external mock dependency (#179)
* No need for the external `mock` dependency. * Upgrading `pip` and `pipenv`. * Bump version.
1 parent 25827ca commit 4ea32fc

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/make -f
22

33
install-dev-requirements:
4-
pip install pipenv==2020.11.15
4+
pip install -U pip
5+
pip install pipenv
56

67
install-test-requirements:
78
pipenv install --dev

Pipfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ http-parser = ">=0.9.0"
1313
pre-commit = "*"
1414
pytest = ">4.6"
1515
pytest-cov = "*"
16-
mock = "*"
1716
requests = "*"
1817
redis = "*"
1918
gevent = "*"

mocket/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
__all__ = ("async_mocketize", "mocketize", "Mocket", "MocketEntry", "Mocketizer")
55

6-
__version__ = "3.10.5"
6+
__version__ = "3.10.6"

tests/main/test_http.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
import socket
66
import tempfile
77
import time
8-
from unittest import TestCase
8+
from unittest import TestCase, mock
99
from urllib.error import HTTPError
1010
from urllib.parse import urlencode
1111
from urllib.request import urlopen
1212

13-
import mock
1413
import pytest
1514
import requests
1615

0 commit comments

Comments
 (0)