Fix relative imports

This commit is contained in:
Toshio Kuratomi 2014-10-15 18:40:03 -04:00
parent 6ecca227b8
commit a707f5acfe
5 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

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