Skip to content

Commit 910f320

Browse files
authored
Merge pull request #173 from maxmind/sromani/remove-mocket
Remove mocket
2 parents 6fbb9c6 + fa73af1 commit 910f320

File tree

5 files changed

+94
-104
lines changed

5 files changed

+94
-104
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
# We don't test on Windows currently as it appears mocket may not
15-
# work there.
14+
# TODO: add windows-latest also
1615
platform: [ubuntu-latest, macos-latest]
1716
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
1817

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ pylint.txt
1919
*.swp
2020
.tox
2121
violations.pyflakes.txt
22+
/venv

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ classifiers = [
3636

3737
[project.optional-dependencies]
3838
test = [
39-
"mocket>=3.12.8",
39+
"pytest-httpserver>=1.0.10",
4040
]
4141

4242
[tool.setuptools.package-data]

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ python =
2121

2222
[testenv:{py38,py39,py310,py311,py312}-test]
2323
deps =
24-
mocket
24+
pytest-httpserver
2525
pytest
2626
commands = pytest tests
2727

@@ -40,6 +40,8 @@ commands = flake8 geoip2
4040
[testenv:py312-mypy]
4141
deps =
4242
mypy
43+
pytest_httpserver
44+
pytest
4345
types-requests
4446
voluptuous-stubs
4547
commands = mypy geoip2 tests

0 commit comments

Comments
 (0)