[Trivialfix]Fix typos

Fix the typos in bandit.

Change-Id: I93db489ae27c3f4490e988d342802f3f29f9255f
This commit is contained in:
shangxiaobj 2017-09-13 00:11:27 -07:00
parent 85e5667ddb
commit 1a3d28b440
3 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,6 @@ subprocess = __import__("subprocess")
# see bug https://bugs.launchpad.net/bandit/+bug/1396333
__import__()
# TODO(??): bandit can not find this one unfortunatly (no symbol tab)
# TODO(??): bandit can not find this one unfortunately (no symbol tab)
a = 'subprocess'
__import__(a)

View File

@ -222,7 +222,7 @@ class BaselineFunctionalTests(testtools.TestCase):
"new_candidates-all.py"}
target_directory, baseline_code = (self._create_baseline(
baseline_report_files))
# assert the intial baseline found results
# assert the initial baseline found results
self.assertEqual(1, baseline_code)
baseline_report = os.path.join(target_directory,
self.baseline_report_file)

View File

@ -151,7 +151,7 @@ class BanditCLIMainTests(testtools.TestCase):
option_name))
def test_log_option_source_no_values(self):
# Test that None is returned when no command arguement or ini value are
# Test that None is returned when no command argument or ini value are
# provided
option_name = 'aggregate'
self.assertIsNone(bandit._log_option_source(None, None, option_name))