mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 17:50:29 +03:00
enable black on tests: api, gpgsign, main, net, vcs
This commit is contained in:
parent
77f9ac9fa8
commit
6620bf0208
5 changed files with 17 additions and 9 deletions
|
|
@ -74,8 +74,14 @@ class VCSTest(unittest.TestCase):
|
|||
vcs, build_dir = fdroidserver.common.setup_vcs(app)
|
||||
# force an init of the repo, the remote head error only occurs on the second gotorevision call
|
||||
vcs.gotorevision(build.commit)
|
||||
fdroidserver.common.prepare_source(vcs, app, build,
|
||||
build_dir=build_dir, srclib_dir="ignore", extlib_dir="ignore")
|
||||
fdroidserver.common.prepare_source(
|
||||
vcs,
|
||||
app,
|
||||
build,
|
||||
build_dir=build_dir,
|
||||
srclib_dir="ignore",
|
||||
extlib_dir="ignore",
|
||||
)
|
||||
self.assertTrue(os.path.isfile("build/com.gpl.rpg.AndorsTrail/file"))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue