diff --git a/tests/deploy.TestCase b/tests/deploy.TestCase index bbb0e929..fd17d062 100755 --- a/tests/deploy.TestCase +++ b/tests/deploy.TestCase @@ -112,6 +112,8 @@ class DeployTest(unittest.TestCase): fdroidserver.deploy.update_serverwebroot('serverwebroot', 'repo') def test_update_serverwebroot_make_cur_version_link(self): + self.maxDiff = None + # setup parameters for this test run fdroidserver.deploy.options = mock.Mock() fdroidserver.deploy.options.no_checksum = True @@ -137,6 +139,8 @@ class DeployTest(unittest.TestCase): '--safe-links', '--quiet', '--exclude', + 'repo/altstore-index.json', + '--exclude', 'repo/entry.jar', '--exclude', 'repo/entry.json', @@ -232,6 +236,8 @@ class DeployTest(unittest.TestCase): 'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i ' + fdroidserver.deploy.config['identity_file'], '--exclude', + 'archive/altstore-index.json', + '--exclude', 'archive/entry.jar', '--exclude', 'archive/entry.json', diff --git a/tests/index.TestCase b/tests/index.TestCase index 04a35c4b..49fda126 100755 --- a/tests/index.TestCase +++ b/tests/index.TestCase @@ -863,7 +863,7 @@ class AltstoreIndexTest(unittest.TestCase): config = { "repo_icon": "fake_repo_icon.png", "repo_name": "fake_repo", - "repo_url": "gopher://fake-repo.com/fdroid/repo" + "repo_url": "gopher://fake-repo.com/fdroid/repo", } with tempfile.TemporaryDirectory() as tmpdir, TmpCwd(tmpdir): @@ -915,7 +915,7 @@ class AltstoreIndexTest(unittest.TestCase): 'name': 'fake_repo', 'news': [], }, - json.load(f) + json.load(f), )