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 18
18
" user."
19
19
20
20
21
- def automatic_sandbox_install (file_path = None ):
21
+ def automatic_sandbox_install ():
22
22
"""
23
- :type file_path: str
23
+ :rtype: ApiContext
24
24
"""
25
25
26
26
sandbox_user = __generate_new_sandbox_user ()
27
- ApiContext (
27
+
28
+ return ApiContext (
28
29
ApiEnvironmentType .SANDBOX ,
29
30
sandbox_user .api_key ,
30
31
socket .gethostname ()
31
- ). save ( file_path )
32
+ )
32
33
33
34
34
35
def __generate_new_sandbox_user ():
Original file line number Diff line number Diff line change @@ -103,9 +103,7 @@ def _get_api_context(cls):
103
103
:rtype: context.ApiContext
104
104
"""
105
105
106
- util .automatic_sandbox_install ('bunq-test.conf' )
107
-
108
- return context .ApiContext .restore ('bunq-test.conf' )
106
+ return util .automatic_sandbox_install ()
109
107
110
108
def _get_pointer_bravo (self ):
111
109
"""
You can’t perform that action at this time.
0 commit comments