Add debug for test asserts

This commit is contained in:
Daniel A. Wozniak 2020-03-10 23:05:34 +00:00
parent 9fa9dab8b2
commit 6dfc098fd1
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -209,8 +209,8 @@ class WrapRenderTestCase(TestCase):
context=context,
tmplpath='/tmp/foo/bar/init.sls'
)
assert render.context['slspath'] == 'foo/bar'
assert render.context['tpldir'] == 'foo/bar'
assert render.context['slspath'] == 'foo/bar', render.context['slspath']
assert render.context['tpldir'] == 'foo/bar', render.context['tpldir']
@with_tempdir()
def test_wrap_issue_56119_b(self, tempdir):
@ -225,5 +225,5 @@ class WrapRenderTestCase(TestCase):
context=context,
tmplpath='/tmp/foo/bar/bang.sls'
)
assert render.context['slspath'] == 'foo/bar'
assert render.context['tpldir'] == 'foo/bar'
assert render.context['slspath'] == 'foo/bar', render.context['slspath']
assert render.context['tpldir'] == 'foo/bar', render.context['tpldir']