Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
lib | ||
static | ||
templates | ||
test | ||
.gitignore | ||
xml_cleanup.py |
1. In video_module.py, rewrite the get_ext() function to use the built-in urlparse module to parse the input filename first and then get the file's extension name from the parsed path. 2. In test_video.py, add two test cases (one with query string while the other without) in order to test the rewritten get_ext() function.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
lib | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
test | Loading commit data... | |
.gitignore | Loading commit data... | |
xml_cleanup.py | Loading commit data... |