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
c0928786
Commit
c0928786
authored
Feb 12, 2014
by
Richard Isaacson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5980 from risaacson/pull_5136_2
Reverting unarchive tests.
parents
254f87e7
6feeb166
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
test/TestPlayBook.py
+17
-15
No files found.
test/TestPlayBook.py
View file @
c0928786
...
@@ -410,21 +410,23 @@ class TestPlaybook(unittest.TestCase):
...
@@ -410,21 +410,23 @@ class TestPlaybook(unittest.TestCase):
assert
utils
.
jsonify
(
expected
,
format
=
True
)
==
utils
.
jsonify
(
actual
,
format
=
True
)
assert
utils
.
jsonify
(
expected
,
format
=
True
)
==
utils
.
jsonify
(
actual
,
format
=
True
)
def
test_unarchive
(
self
):
# Disabled for now as there are permissions issues that happen if you are not the owner that created files
pb
=
'test/playbook-unarchive.yml'
# in the archive.
actual
=
self
.
_run
(
pb
)
# def test_unarchive(self):
# pb = 'test/playbook-unarchive.yml'
expected
=
{
# actual = self._run(pb)
"localhost"
:
{
#
"changed"
:
29
,
# expected = {
"failures"
:
0
,
# "localhost": {
"ok"
:
33
,
# "changed": 29,
"skipped"
:
12
,
# "failures": 0,
"unreachable"
:
0
# "ok": 33,
}
# "skipped": 12,
}
# "unreachable": 0
# }
assert
utils
.
jsonify
(
expected
,
format
=
True
)
==
utils
.
jsonify
(
actual
,
format
=
True
)
# }
#
# assert utils.jsonify(expected, format=True) == utils.jsonify(actual,format=True)
def
_compare_file_output
(
self
,
filename
,
expected_lines
):
def
_compare_file_output
(
self
,
filename
,
expected_lines
):
...
...
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