mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #44541 from terminalmage/fix-yaml-test
Fix test to reflect changes in YAML dumper
This commit is contained in:
commit
60083ac27b
@ -561,7 +561,6 @@ class TestCustomExtensions(TestCase):
|
|||||||
# type of the rendered variable (should be unicode, which is the same as
|
# 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
|
# six.text_type). This should cover all use cases but also allow the test
|
||||||
# to pass on CentOS 6 running Python 2.7.
|
# to pass on CentOS 6 running Python 2.7.
|
||||||
self.assertIn('!!python/unicode', rendered)
|
|
||||||
self.assertIn('str value', rendered)
|
self.assertIn('str value', rendered)
|
||||||
self.assertIsInstance(rendered, six.text_type)
|
self.assertIsInstance(rendered, six.text_type)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user