enable black on tests: api, gpgsign, main, net, vcs

This commit is contained in:
Hans-Christoph Steiner 2023-04-24 12:59:53 +02:00
parent 77f9ac9fa8
commit 6620bf0208
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
5 changed files with 17 additions and 9 deletions

View file

@ -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"))