@@ -179,7 +179,6 @@ def test_apply_case_template(
179179 test_case : OutputCase ,
180180 test_case_template : OutputCaseTemplate ,
181181 ):
182-
183182 assert (
184183 set (test_case_template .get ("tags" , [])).issubset (
185184 set (test_case .get ("tags" , []))
@@ -212,7 +211,6 @@ def test_change_owner_organisation(
212211 )
213212
214213 def test_manage_access (self , thehive : TheHiveApi , test_case : OutputCase ):
215-
216214 assert test_case ["access" ]["_kind" ] == "OrganisationAccessKind"
217215 thehive .case .manage_access (
218216 case_id = test_case ["_id" ],
@@ -226,7 +224,6 @@ def test_manage_access(self, thehive: TheHiveApi, test_case: OutputCase):
226224 def test_get_similar_observables (
227225 self , thehive : TheHiveApi , test_cases : List [OutputCase ]
228226 ):
229-
230227 similar_observables = thehive .case .get_similar_observables (
231228 case_id = test_cases [0 ]["_id" ], alert_or_case_id = test_cases [1 ]["_id" ]
232229 )
@@ -236,7 +233,6 @@ def test_get_similar_observables(
236233 def test_link_and_unlink_case_with_case (
237234 self , thehive : TheHiveApi , test_cases : List [OutputCase ]
238235 ):
239-
240236 case_link : InputCaseLink = {"type" : "whatever" , "caseId" : test_cases [1 ]["_id" ]}
241237
242238 thehive .case .link_case (
@@ -262,7 +258,6 @@ def test_link_and_unlink_case_with_case(
262258 def test_link_and_unlink_case_with_url (
263259 self , thehive : TheHiveApi , test_case : OutputCase
264260 ):
265-
266261 external_url = "https://example.com"
267262 url_link : InputURLLink = {"type" : "whatever" , "url" : external_url }
268263
@@ -283,7 +278,6 @@ def test_link_and_unlink_case_with_url(
283278 assert unlinked_case ["extraData" ]["links" ]["externalLinks" ] == []
284279
285280 def test_link_types (self , thehive : TheHiveApi ):
286-
287281 assert thehive .case .get_link_types () == []
288282
289283 def test_add_and_download_attachment (
0 commit comments