mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 02:00:28 +03:00
fix pylint unused-argument
This commit is contained in:
parent
12c80f9062
commit
17cd07f1a7
6 changed files with 18 additions and 17 deletions
|
|
@ -78,7 +78,7 @@ class CommonTest(unittest.TestCase):
|
|||
testfiles.append(os.path.join(os.path.dirname(__file__), 'urzip-badsig.apk'))
|
||||
testfiles.append(os.path.join(os.path.dirname(__file__), 'urzip-badcert.apk'))
|
||||
for apkfile in testfiles:
|
||||
debuggable = fdroidserver.common.isApkAndDebuggable(apkfile, config)
|
||||
debuggable = fdroidserver.common.isApkAndDebuggable(apkfile)
|
||||
self.assertTrue(debuggable,
|
||||
"debuggable APK state was not properly parsed!")
|
||||
# these are set NOT debuggable
|
||||
|
|
@ -86,7 +86,7 @@ class CommonTest(unittest.TestCase):
|
|||
testfiles.append(os.path.join(os.path.dirname(__file__), 'urzip-release.apk'))
|
||||
testfiles.append(os.path.join(os.path.dirname(__file__), 'urzip-release-unsigned.apk'))
|
||||
for apkfile in testfiles:
|
||||
debuggable = fdroidserver.common.isApkAndDebuggable(apkfile, config)
|
||||
debuggable = fdroidserver.common.isApkAndDebuggable(apkfile)
|
||||
self.assertFalse(debuggable,
|
||||
"debuggable APK state was not properly parsed!")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue