mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Think that integration tests are failing in json due to lack of json mimetype. Make a short wrapper to fix that.
This commit is contained in:
6
test/integration/roles/test_uri/files/testserver.py
Normal file
6
test/integration/roles/test_uri/files/testserver.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import mimetypes
|
||||
import SimpleHTTPServer
|
||||
|
||||
if __name__ == '__main__':
|
||||
mimetypes.add_type('application/json', '.json')
|
||||
SimpleHTTPServer.test()
|
||||
Reference in New Issue
Block a user