Commit a0298d37 authored by Jeff Thiessen's avatar Jeff Thiessen

try directly accessing _instance

parent 2483819a
Pipeline #7524 passed with stage
in 6 minutes and 41 seconds
......@@ -29,7 +29,7 @@ class TestApiCalls(unittest.TestCase):
print "\nResetting api"
# Sets api params to "reset" so a new instance is created when the test
# initializes the api with the parameters it needs for the test
API.apiCalls.ApiCalls().close()
API.apiCalls.ApiCalls._instance = None
@patch("API.apiCalls.urlopen")
@patch("API.apiCalls.ApiCalls.create_session")
......
Markdown is supported
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