Skip to content
Snippets Groups Projects
Commit f03a94b0 authored by Valera Rozuvan's avatar Valera Rozuvan
Browse files

Update doc string for YouTube stub server.

Included information on how to launch the server
on its own.
EOF
parent 6517b067
No related merge requests found
"""
Stub implementation of YouTube for acceptance tests.
To start this stub server on its own from Vagrant:
1.) Locally, modify your Vagrantfile so that it contains:
config.vm.network :forwarded_port, guest: 8031, host: 8031
2.) From within Vagrant dev environment do:
cd common/djangoapps/terrain
python -m stubs.start youtube 8031
3.) Locally, try accessing http://localhost:8031/ and see that
you get "Unused url" message inside the browser.
"""
from .http import StubHttpRequestHandler, StubHttpService
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment