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
ee74eec9
Commit
ee74eec9
authored
May 08, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10963 from sivel/v2-testing-stuff
v2_final Testing additions and fixes
parents
56c9614e
a0fc8bb0
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
20 deletions
+35
-20
.travis.yml
+6
-0
setup.py
+1
-1
test-requirements.txt
+1
-0
test/units/executor/test_play_iterator.py
+1
-1
test/units/playbook/test_play.py
+1
-1
test/units/playbook/test_playbook.py
+1
-1
test/units/playbook/test_role.py
+1
-1
test/units/vars/test_variable_manager.py
+1
-1
tox.ini
+22
-14
No files found.
.travis.yml
View file @
ee74eec9
...
...
@@ -3,6 +3,12 @@ language: python
env
:
-
TOXENV=py26
-
TOXENV=py27
addons
:
apt
:
sources
:
-
deadsnakes
packages
:
-
python2.4
install
:
-
pip install tox
script
:
...
...
setup.py
View file @
ee74eec9
...
...
@@ -21,7 +21,7 @@ setup(name='ansible',
author_email
=
'michael@ansible.com'
,
url
=
'http://ansible.com/'
,
license
=
'GPLv3'
,
install_requires
=
[
'paramiko'
,
'jinja2'
,
"PyYAML"
,
'setuptools'
,
'pycrypto >= 2.6'
],
install_requires
=
[
'paramiko'
,
'jinja2'
,
"PyYAML"
,
'setuptools'
,
'pycrypto >= 2.6'
,
'six'
],
package_dir
=
{
''
:
'lib'
},
packages
=
find_packages
(
'lib'
),
package_data
=
{
...
...
test-requirements.txt
View file @
ee74eec9
...
...
@@ -7,3 +7,4 @@ mock
passlib
coverage
coveralls
unittest2
test/units/executor/test_play_iterator.py
View file @
ee74eec9
...
...
@@ -26,7 +26,7 @@ from ansible.errors import AnsibleError, AnsibleParserError
from
ansible.executor.play_iterator
import
PlayIterator
from
ansible.playbook
import
Playbook
from
test
.mock.loader
import
DictDataLoader
from
units
.mock.loader
import
DictDataLoader
class
TestPlayIterator
(
unittest
.
TestCase
):
...
...
test/units/playbook/test_play.py
View file @
ee74eec9
...
...
@@ -27,7 +27,7 @@ from ansible.playbook.play import Play
from
ansible.playbook.role
import
Role
from
ansible.playbook.task
import
Task
from
test
.mock.loader
import
DictDataLoader
from
units
.mock.loader
import
DictDataLoader
class
TestPlay
(
unittest
.
TestCase
):
...
...
test/units/playbook/test_playbook.py
View file @
ee74eec9
...
...
@@ -26,7 +26,7 @@ from ansible.errors import AnsibleError, AnsibleParserError
from
ansible.playbook
import
Playbook
from
ansible.vars
import
VariableManager
from
test
.mock.loader
import
DictDataLoader
from
units
.mock.loader
import
DictDataLoader
class
TestPlaybook
(
unittest
.
TestCase
):
...
...
test/units/playbook/test_role.py
View file @
ee74eec9
...
...
@@ -28,7 +28,7 @@ from ansible.playbook.role import Role
from
ansible.playbook.role.include
import
RoleInclude
from
ansible.playbook.task
import
Task
from
test
.mock.loader
import
DictDataLoader
from
units
.mock.loader
import
DictDataLoader
class
TestRole
(
unittest
.
TestCase
):
...
...
test/units/vars/test_variable_manager.py
View file @
ee74eec9
...
...
@@ -24,7 +24,7 @@ from ansible.compat.tests.mock import patch, MagicMock
from
ansible.vars
import
VariableManager
from
test
.mock.loader
import
DictDataLoader
from
units
.mock.loader
import
DictDataLoader
class
TestVariableManager
(
unittest
.
TestCase
):
...
...
tox.ini
View file @
ee74eec9
[tox]
envlist
=
{py26,py27}
-v{1}
envlist
=
{py26,py27}
[testenv]
commands
=
make tests
deps
=
-r{toxinidir}/test-requirements.txt
whitelist_externals
=
make
[testenv:py26-v1]
[testenv:py27-v1]
[testenv:py26-v2]
deps
=
-r{toxinidir}/v2/test-requirements.txt
commands
=
make newtests
[testenv:py26]
commands
=
python
-m
compileall
-fq
-x
'test|samples'
.
python2.4
-m
compileall
-fq
-x
'module_utils/(a10|rax|openstack|ec2|gce).py'
lib/ansible/module_utils
make
tests
deps
=
-r{toxinidir}/test-requirements.txt
whitelist_externals
=
make
python2.4
[testenv:py27-v2]
deps
=
-r{toxinidir}/v2/test-requirements.txt
commands
=
make newtests
[testenv:py27]
commands
=
python
-m
compileall
-fq
-x
'test|samples'
.
make
tests
deps
=
-r{toxinidir}/test-requirements.txt
whitelist_externals
=
make
[testenv:py34-v2]
deps
=
-r{toxinidir}/v2/test-requirements.txt
commands
=
make newtests
[testenv:py34]
commands
=
python
-m
compileall
-fq
-x
'lib/ansible/module_utils'
lib
make
tests
deps
=
-r-r{toxinidir}/test-requirements.txt
whitelist_externals
=
make
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