tests/unit/states/eselect_test.py: remove raw string formatting

This commit is contained in:
Erik Johnson 2015-08-26 23:26:08 -05:00
parent 2d51f3d25b
commit 96c559d63e

View File

@ -44,7 +44,7 @@ class EselectTestCase(TestCase):
mock = MagicMock(return_value=target)
with patch.dict(eselect.__salt__, {'eselect.get_current_target': mock}):
comt = ('Target {0!r} is already set on {1!r} module.'
comt = ('Target \'{0}\' is already set on \'{1}\' module.'
.format(target, name))
ret.update({'comment': comt})
self.assertDictEqual(eselect.set_(name, target), ret)