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
a8d52e3e
Commit
a8d52e3e
authored
May 21, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have to setup the proper mime-types before importing SImpleHttpServer
parent
7af2632c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
test/integration/Makefile
+0
-3
test/integration/roles/test_uri/files/testserver.py
+2
-1
No files found.
test/integration/Makefile
View file @
a8d52e3e
...
@@ -42,9 +42,6 @@ unicode:
...
@@ -42,9 +42,6 @@ unicode:
test_templating_settings
:
test_templating_settings
:
ansible-playbook test_templating_settings.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
ansible-playbook test_templating_settings.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
mine
:
ansible-playbook mine.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
non_destructive
:
non_destructive
:
ansible-playbook non_destructive.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
ansible-playbook non_destructive.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
...
...
test/integration/roles/test_uri/files/testserver.py
View file @
a8d52e3e
import
mimetypes
import
mimetypes
import
SimpleHTTPServer
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
mimetypes
.
init
()
mimetypes
.
add_type
(
'application/json'
,
'.json'
)
mimetypes
.
add_type
(
'application/json'
,
'.json'
)
import
SimpleHTTPServer
SimpleHTTPServer
.
test
()
SimpleHTTPServer
.
test
()
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