From 958e1aeb8d55fe48249b4812707b4d73d172eca9 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Tue, 14 Nov 2017 13:43:39 -0600 Subject: [PATCH] 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. --- tests/unit/templates/test_jinja.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/templates/test_jinja.py b/tests/unit/templates/test_jinja.py index 4ad4b618f8..a5be05056d 100644 --- a/tests/unit/templates/test_jinja.py +++ b/tests/unit/templates/test_jinja.py @@ -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)