mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Ignore bandit insecure usage of tmp dir warnings
This commit is contained in:
parent
565ae02678
commit
1cbd68af84
1 changed files with 6 additions and 2 deletions
|
@ -833,7 +833,11 @@ class IntegrationTest(unittest.TestCase):
|
|||
# this should fail because the path doesn't end with "fdroid"
|
||||
self.assert_run_fail(
|
||||
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
|
||||
self.assert_run_fail(
|
||||
|
@ -841,7 +845,7 @@ class IntegrationTest(unittest.TestCase):
|
|||
+ [
|
||||
"deploy",
|
||||
"--local-copy-dir",
|
||||
"/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid",
|
||||
"/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid", # nosec B108
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue