mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed test to work on Windows.
This commit is contained in:
parent
5a5a2dd026
commit
b2b8f075b9
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class FileModuleTest(integration.ModuleCase):
|
|||
'''
|
||||
ret = self.minion_run('file.line', self.myfile, 'Goodbye',
|
||||
mode='insert', after='Hello')
|
||||
self.assertIn('Hello\n+Goodbye', ret)
|
||||
self.assertIn('Hello' + os.linesep + '+Goodbye', ret)
|
||||
|
||||
if __name__ == '__main__':
|
||||
from integration import run_tests
|
||||
|
|
Loading…
Add table
Reference in a new issue