mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
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:
parent
3bf2d60bfa
commit
b63e9e68c5
35 changed files with 1799 additions and 1433 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue