Merge pull request #48432 from dwoz/file-prepend-again

Prepend test needs file.touch method
This commit is contained in:
Daniel Wozniak 2018-07-03 14:32:47 -07:00 committed by GitHub
commit 4576ef20bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1202,6 +1202,7 @@ class TestFileState(TestCase, LoaderModuleMockMixin):
{'file.directory_exists': mock_f,
'file.makedirs': mock_t,
'file.stats': mock_f,
'file.touch': mock_t,
'cp.get_template': mock_f,
'file.search': mock_f,
'file.prepend': mock_t}):