mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Lint: Remove extra empty lines at end of files
This commit is contained in:
parent
239f3511bf
commit
3d9eafc4bd
@ -211,4 +211,3 @@ class FileModuleTest(ModuleCase):
|
|||||||
with salt.utils.fopen(self.myfile, 'r') as fp:
|
with salt.utils.fopen(self.myfile, 'r') as fp:
|
||||||
content = fp.read()
|
content = fp.read()
|
||||||
self.assertEqual(content, 'Hello' + os.linesep + 'Goodbye' + os.linesep)
|
self.assertEqual(content, 'Hello' + os.linesep + 'Goodbye' + os.linesep)
|
||||||
|
|
||||||
|
@ -165,4 +165,3 @@ class OutputReturnTest(ShellCase):
|
|||||||
expected = ['minion:', ' True']
|
expected = ['minion:', ' True']
|
||||||
ret = self.run_salt('"minion" test.ping --static')
|
ret = self.run_salt('"minion" test.ping --static')
|
||||||
self.assertEqual(ret, expected)
|
self.assertEqual(ret, expected)
|
||||||
|
|
||||||
|
@ -596,4 +596,3 @@ PATCHLEVEL = 3
|
|||||||
MagicMock(return_value=resolv_mock)):
|
MagicMock(return_value=resolv_mock)):
|
||||||
get_dns = core.dns()
|
get_dns = core.dns()
|
||||||
self.assertEqual(get_dns, ret)
|
self.assertEqual(get_dns, ret)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user