File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1818 " user."
1919
2020
21- def automatic_sandbox_install (file_path = None ):
21+ def automatic_sandbox_install ():
2222 """
23- :type file_path: str
23+ :rtype: ApiContext
2424 """
2525
2626 sandbox_user = __generate_new_sandbox_user ()
27- ApiContext (
27+
28+ return ApiContext (
2829 ApiEnvironmentType .SANDBOX ,
2930 sandbox_user .api_key ,
3031 socket .gethostname ()
31- ). save ( file_path )
32+ )
3233
3334
3435def __generate_new_sandbox_user ():
Original file line number Diff line number Diff line change @@ -103,9 +103,7 @@ def _get_api_context(cls):
103103 :rtype: context.ApiContext
104104 """
105105
106- util .automatic_sandbox_install ('bunq-test.conf' )
107-
108- return context .ApiContext .restore ('bunq-test.conf' )
106+ return util .automatic_sandbox_install ()
109107
110108 def _get_pointer_bravo (self ):
111109 """
You can’t perform that action at this time.
0 commit comments