Fix regression in 0.13.5 with always_run + files

This commit is contained in:
Anthony Sottile 2017-03-27 07:39:19 -07:00
parent e1cdbb3844
commit ce2f68b40a
2 changed files with 15 additions and 1 deletions

View file

@ -187,6 +187,20 @@ def test_validate_manifest_main(args, expected_output):
}],
True,
),
(
# A regression in 0.13.5: always_run and files are permissible
# together (but meaningless). In a future version upgrade this to
# an error
[{
'id': 'a',
'name': 'b',
'entry': 'c',
'language': 'python',
'files': '',
'always_run': True,
}],
True,
),
)
)
def test_valid_manifests(manifest_obj, expected):