Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
a707f5ac
Commit
a707f5ac
authored
Oct 15, 2014
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix relative imports
parent
6ecca227
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
v2/test/errors/test_errors.py
+1
-1
v2/test/parsing/test_general.py
+1
-1
v2/test/parsing/test_mod_args.py
+2
-2
v2/test/parsing/yaml/test_yaml.py
+1
-1
v2/test/playbook/test_task.py
+1
-1
No files found.
v2/test/errors/test_errors.py
View file @
a707f5ac
...
...
@@ -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
...
...
v2/test/parsing/test_general.py
View file @
a707f5ac
...
...
@@ -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
...
...
v2/test/parsing/test_mod_args.py
View file @
a707f5ac
...
...
@@ -17,9 +17,9 @@
from
ansible.parsing.mod_args
import
ModuleArgsParser
from
..
compat
import
CompatTestCase
from
..
compat
import
unittest
class
TestModArgsDwim
(
Compat
TestCase
):
class
TestModArgsDwim
(
unittest
.
TestCase
):
# TODO: add tests that construct ModuleArgsParser with a task reference
# TODO: verify the AnsibleError raised on failure knows the task
...
...
v2/test/parsing/yaml/test_yaml.py
View file @
a707f5ac
...
...
@@ -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
...
...
v2/test/playbook/test_task.py
View file @
a707f5ac
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment