Ignore bandit insecure usage of tmp dir warnings

This commit is contained in:
mindston 2025-01-31 20:06:28 +01:00 committed by Hans-Christoph Steiner
parent 565ae02678
commit 1cbd68af84

View file

@ -833,7 +833,11 @@ class IntegrationTest(unittest.TestCase):
# this should fail because the path doesn't end with "fdroid" # this should fail because the path doesn't end with "fdroid"
self.assert_run_fail( self.assert_run_fail(
self.fdroid_cmd self.fdroid_cmd
+ ["deploy", "--local-copy-dir", "/tmp/IReallyDoubtThisPathExistsasdfasdf"] + [
"deploy",
"--local-copy-dir",
"/tmp/IReallyDoubtThisPathExistsasdfasdf", # nosec B108
]
) )
# this should fail because the dirname path does not exist # this should fail because the dirname path does not exist
self.assert_run_fail( self.assert_run_fail(
@ -841,7 +845,7 @@ class IntegrationTest(unittest.TestCase):
+ [ + [
"deploy", "deploy",
"--local-copy-dir", "--local-copy-dir",
"/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid", "/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid", # nosec B108
] ]
) )