File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ def create_with_ssh_key(
123123 )
124124 sys .exit (1 )
125125
126- tags_parsed = []
126+ tags_parsed = []
127127 if tags is not None :
128- tags_parsed = [dict (item .split (":" ) for item in tags .split (',' ))]
128+ tags_parsed = [dict (item .split (":" ) for item in tags .split ("," ))]
129129
130130 worker_id = base .get_client ().k8s_worker .create_with_ssh_key (
131131 ip = ip ,
Original file line number Diff line number Diff line change @@ -173,7 +173,9 @@ def test_key_or_keycontent_provided(
173173 self .assertEqual (cm .exception .code , 1 )
174174
175175 actual_err = self .err .getvalue ().strip ()
176- expected_err = "At least one of ssh_key or ssh_key_file must be provided"
176+ expected_err = (
177+ "At least one of ssh_key or ssh_key_file must be provided"
178+ )
177179
178180 self .assertEqual (self .out .getvalue (), "" , "stdout should be empty" )
179181
@@ -197,7 +199,9 @@ def test_key_and_keycontent_provided(
197199 self .assertEqual (cm .exception .code , 1 )
198200
199201 actual_err = self .err .getvalue ().strip ()
200- expected_err = "Either ssh_key or ssh_key_file must be provided, but not both."
202+ expected_err = (
203+ "Either ssh_key or ssh_key_file must be provided, but not both."
204+ )
201205
202206 self .assertEqual (self .out .getvalue (), "" , "stdout should be empty" )
203207
You can’t perform that action at this time.
0 commit comments