From 3a85996d2a21efddf638325aa61a042800b968c8 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 19 Feb 2017 16:18:20 +0000 Subject: [PATCH] Code cleanup --- tests/unit/grains/test_core.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/unit/grains/test_core.py b/tests/unit/grains/test_core.py index 56848933f2..5972b27e83 100644 --- a/tests/unit/grains/test_core.py +++ b/tests/unit/grains/test_core.py @@ -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)