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
This commit is contained in:
Eric Brown 2018-03-13 19:04:07 -07:00
parent 197073b4d0
commit 2fc2732721
1 changed files with 2 additions and 2 deletions

View File

@ -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()