aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy/test.py')
-rw-r--r--python/tidy/test.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/python/tidy/test.py b/python/tidy/test.py
index e28549f2c3c..5b6cff89988 100644
--- a/python/tidy/test.py
+++ b/python/tidy/test.py
@@ -180,21 +180,6 @@ class CheckTidiness(unittest.TestCase):
self.assertEqual('Unordered key (found b before a)', next(errors)[2])
self.assertNoMoreErrors(errors)
- def test_yaml_with_duplicate_key(self):
- errors = tidy.collect_errors_for_files(iterFile('duplicate_keys_buildbot_steps.yml'), [tidy.check_yaml], [], print_text=False)
- self.assertEqual('Duplicated Key (duplicate_yaml_key)', next(errors)[2])
- self.assertNoMoreErrors(errors)
-
- def test_non_list_mapped_buildbot_steps(self):
- errors = tidy.collect_errors_for_files(iterFile('non_list_mapping_buildbot_steps.yml'), [tidy.check_yaml], [], print_text=False)
- self.assertEqual("expected a list for dictionary value @ data['non-list-key']", next(errors)[2])
- self.assertNoMoreErrors(errors)
-
- def test_non_string_list_mapping_buildbot_steps(self):
- errors = tidy.collect_errors_for_files(iterFile('non_string_list_buildbot_steps.yml'), [tidy.check_yaml], [], print_text=False)
- self.assertEqual("expected str @ data['mapping_key'][0]", next(errors)[2])
- self.assertNoMoreErrors(errors)
-
def test_lock(self):
errors = tidy.collect_errors_for_files(iterFile('duplicated_package.lock'), [tidy.check_lock], [], print_text=False)
msg = """duplicate versions for package `test`