Fix test to reflect changes in YAML dumper

PR #42064 modified the YAML dumper to display unicode text as a unicode
literal rather than with the !!python/unicode extension prefix. This
updates the test to reflect the change in Salt's behavior.
This commit is contained in:
Erik Johnson 2017-11-14 13:43:39 -06:00
parent 27a7b607b1
commit 958e1aeb8d
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -561,7 +561,6 @@ class TestCustomExtensions(TestCase):
# type of the rendered variable (should be unicode, which is the same as
# six.text_type). This should cover all use cases but also allow the test
# to pass on CentOS 6 running Python 2.7.
self.assertIn('!!python/unicode', rendered)
self.assertIn('str value', rendered)
self.assertIsInstance(rendered, six.text_type)