fix typo that made updating the tests confusing

Change-Id: I11cc7964ef3b977b2245a63d7d0582c80724b2d4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-11 16:39:06 -04:00 committed by Dirk Mueller
parent bcb078e38e
commit d500f3c24c
2 changed files with 3 additions and 3 deletions
openstack_requirements/tests

@ -21,7 +21,7 @@ iso8601>=0.1.4
oslo.config>=1.1.0
thisisnotarealdepedency
thisisnotarealdependency
# For Swift storage backend.
python-swiftclient>=1.2,<2

@ -131,7 +131,7 @@ class UpdateTest(testtools.TestCase):
actions = update._process_project(
common.bad_project, common.global_reqs, None, None, None, False)
errors = [a for a in actions if type(a) is project.Error]
msg = u"'thisisnotarealdepedency' is not in global-requirements.txt"
msg = u"'thisisnotarealdependency' is not in global-requirements.txt"
self.assertEqual([project.Error(message=msg)], errors)
def test_requirement_not_in_global_non_fatal(self):
@ -144,7 +144,7 @@ class UpdateTest(testtools.TestCase):
reqs = common.project_file(
self.fail, common.bad_project, 'requirements.txt',
softupdate=True)
self.assertIn("thisisnotarealdepedency", reqs)
self.assertIn("thisisnotarealdependency", reqs)
# testing output
def test_non_verbose_output(self):