1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

fix install test by making sure common.options is set

This commit is contained in:
Hans-Christoph Steiner 2015-01-20 22:40:45 +01:00
parent e3628b2d74
commit 3b3d026ee3

View File

@ -40,6 +40,7 @@ if __name__ == "__main__":
parser.add_option("-v", "--verbose", action="store_true", default=False,
help="Spew out even more information than normal")
(fdroidserver.install.options, args) = parser.parse_args(['--verbose'])
fdroidserver.common.options = fdroidserver.install.options
newSuite = unittest.TestSuite()
newSuite.addTest(unittest.makeSuite(InstallTest))