mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
PEP8 fixes
This commit is contained in:
parent
33aee96ed9
commit
c7c40cb59f
@ -491,7 +491,6 @@ class CommonTest(unittest.TestCase):
|
||||
sig = fdroidserver.common.metadata_find_developer_signature('org.smssecure.smssecure')
|
||||
self.assertEqual('b30bb971af0d134866e158ec748fcd553df97c150f58b0a963190bbafbeb0868', sig)
|
||||
|
||||
|
||||
def test_parse_androidmanifests(self):
|
||||
source_files_dir = os.path.join(os.path.dirname(__file__), 'source-files')
|
||||
app = fdroidserver.metadata.App()
|
||||
@ -502,7 +501,7 @@ class CommonTest(unittest.TestCase):
|
||||
]
|
||||
for path in paths:
|
||||
self.assertTrue(os.path.isfile(path))
|
||||
self.assertEqual(('0.94-test', '940', 'org.fdroid.fdroid'),
|
||||
self.assertEqual(('0.94-test', '940', 'org.fdroid.fdroid'),
|
||||
fdroidserver.common.parse_androidmanifests(paths, app))
|
||||
|
||||
def test_parse_androidmanifests_with_flavor(self):
|
||||
@ -521,6 +520,7 @@ class CommonTest(unittest.TestCase):
|
||||
self.assertEqual(('0.95-dev', '949', 'org.fdroid.fdroid.dev'),
|
||||
fdroidserver.common.parse_androidmanifests(paths, app))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = optparse.OptionParser()
|
||||
parser.add_option("-v", "--verbose", action="store_true", default=False,
|
||||
|
Loading…
Reference in New Issue
Block a user