Code cleanup

This commit is contained in:
Pedro Algarvio 2017-02-19 16:18:20 +00:00
parent f7974b186b
commit 3a85996d2a
No known key found for this signature in database
GPG Key ID: BB36BF6584A298FF

View File

@ -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)