From 1f7d2577670c9172521d60d39eb594fe94223f8b Mon Sep 17 00:00:00 2001 From: rallytime Date: Fri, 13 Feb 2015 11:30:45 -0700 Subject: [PATCH] Add some python 3 compatibility fixes for new test files --- tests/unit/modules/neutron_test.py | 3 +++ tests/unit/modules/rdp_test.py | 3 +++ tests/unit/modules/rest_sample_test.py | 3 +++ 3 files changed, 9 insertions(+) diff --git a/tests/unit/modules/neutron_test.py b/tests/unit/modules/neutron_test.py index 7e1d2031d9..65a1c836e3 100644 --- a/tests/unit/modules/neutron_test.py +++ b/tests/unit/modules/neutron_test.py @@ -3,6 +3,9 @@ :codeauthor: :email:`Jayesh Kariya ` ''' +# Import Python Libs +from __future__ import absolute_import + # Import Salt Testing Libs from salttesting import TestCase, skipIf from salttesting.mock import ( diff --git a/tests/unit/modules/rdp_test.py b/tests/unit/modules/rdp_test.py index 2ead45f7c9..0c27fc9c17 100644 --- a/tests/unit/modules/rdp_test.py +++ b/tests/unit/modules/rdp_test.py @@ -3,6 +3,9 @@ :codeauthor: :email:`Jayesh Kariya ` ''' +# Import Python Libs +from __future__ import absolute_import + # Import Salt Testing Libs from salttesting import TestCase, skipIf from salttesting.mock import ( diff --git a/tests/unit/modules/rest_sample_test.py b/tests/unit/modules/rest_sample_test.py index ec55673099..2ddcf83b80 100644 --- a/tests/unit/modules/rest_sample_test.py +++ b/tests/unit/modules/rest_sample_test.py @@ -3,6 +3,9 @@ :codeauthor: :email:`Jayesh Kariya ` ''' +# Import Python Libs +from __future__ import absolute_import + # Import Salt Testing Libs from salttesting import TestCase, skipIf from salttesting.mock import (