Call the with_tempfile decorator correctly for 2018.3

This commit is contained in:
rallytime 2018-08-23 16:37:03 -04:00
parent 37f24fda78
commit 196ce3f75e
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -743,7 +743,7 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
diff_lines = ret['changes']['diff'].split(os.linesep)
assert '+räksmörgås' in diff_lines, diff_lines
@with_tempfile
@with_tempfile()
def test_managed_keep_source_false_salt(self, name):
'''
This test ensures that we properly clean the cached file if keep_source