Fix relative imports

pull/9325/merge
Toshio Kuratomi 10 years ago
parent 6ecca227b8
commit a707f5acfe

@ -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',

Loading…
Cancel
Save