File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def __init__(
9494 timeout : Optional [int ] = None ,
9595 metadata : Optional [Dict [str , str ]] = None ,
9696 envs : Optional [Dict [str , str ]] = None ,
97- secrue : Optional [bool ] = None ,
97+ secure : Optional [bool ] = None ,
9898 api_key : Optional [str ] = None ,
9999 domain : Optional [str ] = None ,
100100 debug : Optional [bool ] = None ,
@@ -152,7 +152,7 @@ def __init__(
152152 domain = domain ,
153153 debug = debug ,
154154 request_timeout = request_timeout ,
155- secure = secrue or False ,
155+ secure = secure or False ,
156156 proxy = proxy ,
157157 )
158158 self ._sandbox_id = response .sandbox_id
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def test_watch_file(sandbox: Sandbox):
111111 sandbox .files .watch_dir (filename )
112112
113113def test_watch_file_with_secured_envd (template ):
114- sbx = Sandbox (template , timeout = 30 , secrue = True )
114+ sbx = Sandbox (template , timeout = 30 , secure = True )
115115 try :
116116 sbx .files .watch_dir ("/home/user/" )
117117 sbx .files .write ("test_watch.txt" , "This file will be watched." )
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def test_write_with_secured_envd(template):
125125 filename = "non_existing_dir/test_write.txt"
126126 content = "This should succeed too."
127127
128- sbx = Sandbox (template , timeout = 30 , secrue = True )
128+ sbx = Sandbox (template , timeout = 30 , secure = True )
129129 try :
130130 assert sbx .is_running ()
131131 assert sbx ._envd_version is not None
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_connect(template):
1616def test_connect_with_secure (template ):
1717 dir_name = f"test_directory_{ uuid .uuid4 ()} "
1818
19- sbx = Sandbox (template , timeout = 10 , secrue = True )
19+ sbx = Sandbox (template , timeout = 10 , secure = True )
2020 try :
2121 assert sbx .is_running ()
2222
Original file line number Diff line number Diff line change 44
55
66def test_start_secured (template ):
7- sbx = Sandbox (template , timeout = 5 , secrue = True )
7+ sbx = Sandbox (template , timeout = 5 , secure = True )
88 try :
99 assert sbx .is_running ()
1010 assert sbx ._envd_version is not None
You can’t perform that action at this time.
0 commit comments