move all test metadata files to .yml format

for f in metadata/*.txt; do ../fdroid rewritemeta --to yml $(basename $f | sed 's,\.txt,,'); done
This commit is contained in:
Hans-Christoph Steiner 2020-06-09 22:01:31 +02:00
parent 3bf2d60bfa
commit b63e9e68c5
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
35 changed files with 1799 additions and 1433 deletions

View file

@ -48,8 +48,8 @@ class LintTest(unittest.TestCase):
os.path.join(tmptestsdir, 'metadata'),
ignore=shutil.ignore_patterns('apk', 'dump', '*.json'))
self.assertFalse(fdroidserver.lint.check_for_unsupported_metadata_files(tmptestsdir + '/'))
shutil.copy(os.path.join(localmodule, 'tests', 'metadata', 'org.adaway.json'),
os.path.join(tmptestsdir, 'metadata'))
with open(os.path.join(tmptestsdir, 'metadata', 'org.adaway.json'), 'w') as fp:
fp.write('placeholder')
self.assertTrue(fdroidserver.lint.check_for_unsupported_metadata_files(tmptestsdir + '/'))
def test_forbidden_html_tags(self):