mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add debug for test asserts
This commit is contained in:
parent
9fa9dab8b2
commit
6dfc098fd1
1 changed files with 4 additions and 4 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue