Verified Commit 4fc8ddb6 authored by Tanner Prestegard's avatar Tanner Prestegard
Browse files

Bugfix safe_client used in unit tests

parent 7945cd25
......@@ -17,8 +17,8 @@ from import GraceDb
def safe_client():
"""A client class which has its request() method mocked away"""
with mock.patch.object(GraceDb, 'request'):
client = GraceDb()
client = GraceDb()
client.request = mock.Mock()
return client
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment