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
efa005c2
Commit
efa005c2
authored
Aug 24, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added names to assert tasks for easier debugging
parent
d6a1cbee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
test/integration/test_environment.yml
+14
-10
No files found.
test/integration/test_environment.yml
View file @
efa005c2
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
shell
:
echo $key1
shell
:
echo $key1
register
:
test_env
register
:
test_env
-
assert
:
-
name
:
assert no val in stdout
assert
:
that
:
that
:
-
'
"val1"
not
in
test_env.stdout'
-
'
"val1"
not
in
test_env.stdout'
...
@@ -18,7 +19,8 @@
...
@@ -18,7 +19,8 @@
environment
:
"
{{test1}}"
environment
:
"
{{test1}}"
register
:
test_env2
register
:
test_env2
-
assert
:
-
name
:
assert val1 in stdout
assert
:
that
:
that
:
-
'
"val1"
in
test_env2.stdout'
-
'
"val1"
in
test_env2.stdout'
...
@@ -34,19 +36,21 @@
...
@@ -34,19 +36,21 @@
tasks
:
tasks
:
-
name
:
check that play envvar does exist
-
name
:
check that play envvar does exist
shell
:
echo $key1
shell
:
echo $key1
register
:
test_env
register
:
test_env
3
-
assert
:
-
name
:
assert val1 in stdout
assert
:
that
:
that
:
-
'
"val1"
in
test_env.stdout'
-
'
"val1"
in
test_env
3
.stdout'
-
name
:
check that task envvar does exist
-
name
:
check that task envvar does exist
shell
:
echo $key1; echo $other1
shell
:
echo $key1; echo $other1
register
:
test_env
2
register
:
test_env
4
environment
:
"
{{test2}}"
environment
:
"
{{test2}}"
-
assert
:
-
name
:
assert all vars appear as expected
assert
:
that
:
that
:
-
'
"val1"
not
in
test_env
2
.stdout'
-
'
"val1"
not
in
test_env
4
.stdout'
-
'
"not1"
in
test_env
2
.stdout'
-
'
"not1"
in
test_env
4
.stdout'
-
'
"val2"
in
test_env
2
.stdout'
-
'
"val2"
in
test_env
4
.stdout'
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