Skip to content

Commit e2b6ab6

Browse files
Remove external mock dependency
Signed-off-by: Robbie Harwood <[email protected]>
1 parent b53b9e5 commit e2b6ab6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
{ "run": "sudo apt update" },
2525
{ "run": "sudo apt install -y libkrb5-dev" },
26-
{ "run": "pip install flake8 mock" },
26+
{ "run": "pip install flake8" },
2727
{ "run": "pip install -r requirements.txt" },
2828
{ "run": "python3 -m unittest" },
2929
{

Diff for: setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def get_version():
5252
'gssapi',
5353
],
5454
test_suite='test_requests_gssapi',
55-
tests_require=['mock'],
5655
classifiers=[
5756
"License :: OSI Approved :: ISC License (ISCL)"
5857
],

Diff for: test_requests_gssapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""Tests for requests_gssapi."""
55

66
from base64 import b64encode
7-
from mock import Mock, patch
7+
from unittest.mock import Mock, patch
88
from requests.compat import urlparse
99
import requests
1010

0 commit comments

Comments
 (0)