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
bcfef8d0
Commit
bcfef8d0
authored
May 14, 2014
by
Kevin Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a broken test that shows extensions not skipped
parent
19dbff91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
test/units/TestInventory.py
+4
-0
test/units/inventory_test_data/inventory_dir/4skip_extensions.ini
+3
-0
No files found.
test/units/TestInventory.py
View file @
bcfef8d0
...
...
@@ -439,3 +439,7 @@ class TestInventory(unittest.TestCase):
actual_host_names
=
[
host
.
name
for
host
in
group_greek
]
print
"greek :
%
s "
%
actual_host_names
assert
actual_host_names
==
[
'zeus'
,
'morpheus'
]
def
test_dir_inventory_skip_extension
(
self
):
inventory
=
self
.
dir_inventory
()
assert
'skipme'
not
in
[
h
.
name
for
h
in
inventory
.
get_hosts
()]
test/units/inventory_test_data/inventory_dir/4skip_extensions.ini
0 → 100644
View file @
bcfef8d0
[skip]
skipme
\ No newline at end of file
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