mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Code cleanup
This commit is contained in:
parent
f7974b186b
commit
3a85996d2a
@ -10,7 +10,6 @@ import platform
|
||||
|
||||
# Import Salt Testing Libs
|
||||
from salttesting import TestCase, skipIf
|
||||
from salttesting.helpers import ensure_in_syspath
|
||||
from salttesting.mock import (
|
||||
MagicMock,
|
||||
patch,
|
||||
@ -19,8 +18,6 @@ from salttesting.mock import (
|
||||
NO_MOCK_REASON
|
||||
)
|
||||
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
# Import Salt Libs
|
||||
import salt.ext.six as six
|
||||
import salt.utils
|
||||
@ -464,8 +461,3 @@ PATCHLEVEL = 3
|
||||
self.assertEqual(os_grains.get('osrelease'), os_release_map['osrelease'])
|
||||
self.assertListEqual(list(os_grains.get('osrelease_info')), os_release_map['osrelease_info'])
|
||||
self.assertEqual(os_grains.get('osmajorrelease'), os_release_map['osmajorrelease'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from integration import run_tests
|
||||
run_tests(CoreGrainsTestCase, needs_daemon=False)
|
||||
|
Loading…
Reference in New Issue
Block a user