mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
use default accepted_formats since all the files are .yml anyway
This commit is contained in:
parent
1b90aec697
commit
37f37ebd88
8 changed files with 12 additions and 45 deletions
|
|
@ -34,11 +34,6 @@ class LintTest(unittest.TestCase):
|
|||
os.chdir(self.basedir)
|
||||
|
||||
def test_check_for_unsupported_metadata_files(self):
|
||||
config = dict()
|
||||
fdroidserver.common.fill_config_defaults(config)
|
||||
config['accepted_formats'] = ('txt', 'yml')
|
||||
fdroidserver.common.config = config
|
||||
fdroidserver.lint.config = config
|
||||
self.assertTrue(fdroidserver.lint.check_for_unsupported_metadata_files())
|
||||
|
||||
tmptestsdir = tempfile.mkdtemp(prefix=inspect.currentframe().f_code.co_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue