Commit a707f5ac by Toshio Kuratomi

Fix relative imports

parent 6ecca227
......@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from ..compat import unittest
from .. compat import unittest
from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject
from ansible.errors import AnsibleError
......
......@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from ..compat import unittest
from .. compat import unittest
from ansible.parsing import load
from ansible.errors import AnsibleParserError
......
......@@ -17,9 +17,9 @@
from ansible.parsing.mod_args import ModuleArgsParser
from .. compat import CompatTestCase
from .. compat import unittest
class TestModArgsDwim(CompatTestCase):
class TestModArgsDwim(unittest.TestCase):
# TODO: add tests that construct ModuleArgsParser with a task reference
# TODO: verify the AnsibleError raised on failure knows the task
......
......@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from ..compat import unittest
from ... compat import unittest
from yaml.scanner import ScannerError
......
......@@ -16,7 +16,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from ansible.playbook.task import Task
from ..compat import unittest
from .. compat import unittest
basic_shell_task = dict(
name = 'Test Task',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment