Merging upstream version 1.5.13.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
95e73670dd
commit
63136a4c14
5 changed files with 29 additions and 6 deletions
|
@ -13,6 +13,12 @@ def test_extensions_have_binary_or_text(extension):
|
|||
assert len({'text', 'binary'} & tags) == 1, tags
|
||||
|
||||
|
||||
@pytest.mark.parametrize('name', extensions.NAMES)
|
||||
def test_names_have_binary_or_text(name):
|
||||
tags = extensions.NAMES[name]
|
||||
assert len({'text', 'binary'} & tags) == 1, tags
|
||||
|
||||
|
||||
@pytest.mark.parametrize('extension', extensions.EXTENSIONS_NEED_BINARY_CHECK)
|
||||
def test_need_binary_check_do_not_specify_text_binary(extension):
|
||||
tags = extensions.EXTENSIONS_NEED_BINARY_CHECK[extension]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue