From 2fc2732721e563e2ce13d0fbcc1e40bb55e28c51 Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Tue, 13 Mar 2018 19:04:07 -0700 Subject: [PATCH] Typo in the name of the YAML formatter test The yaml test class was misnamed as JsonFormatterTests and not properly as YamlFormatterTests. Change-Id: Icbbd666f35ec4fc3251015c3f773b8585c5e8b78 --- tests/unit/formatters/test_yaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/formatters/test_yaml.py b/tests/unit/formatters/test_yaml.py index c6cc7098..6997d9a9 100644 --- a/tests/unit/formatters/test_yaml.py +++ b/tests/unit/formatters/test_yaml.py @@ -28,10 +28,10 @@ from bandit.core import metrics from bandit.formatters import json as b_json -class JsonFormatterTests(testtools.TestCase): +class YamlFormatterTests(testtools.TestCase): def setUp(self): - super(JsonFormatterTests, self).setUp() + super(YamlFormatterTests, self).setUp() conf = config.BanditConfig() self.manager = manager.BanditManager(conf, 'file') (tmp_fd, self.tmp_fname) = tempfile.mkstemp()