From 03d7b040540b30ecf983693712faf4a97944504a Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Sep 17 2018 09:59:31 +0000 Subject: test that non-dict references block gets flagged --- diff --git a/tests/test_modulemd_linter.py b/tests/test_modulemd_linter.py index 81cef04..82ed6a3 100644 --- a/tests/test_modulemd_linter.py +++ b/tests/test_modulemd_linter.py @@ -219,6 +219,10 @@ class _TestModuleMDVersionLinter(_TestModuleMDLinter): def test_xmd_not_dict(self, tree): tree['data']['xmd'] = ['not a dict'] + @linting_fails + def test_references_not_dict(self, tree): + tree['data']['references'] = ['not a dict'] + class TestModuleMDV1Linter(_TestModuleMDVersionLinter): """Test modulemd v1 structures.