Skip to content
Snippets Groups Projects
Unverified Commit 62300b92 authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Merge pull request #21897 from cpennington/absolute-path-bokchoy-uploads

Use absolute paths to upload files in video tests
parents b70d8e68 8e0f9004
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ CMS Video
from __future__ import absolute_import
import os
import os.path
import time
import requests
......@@ -225,7 +226,7 @@ class VideoComponentPage(VideoPage):
filename (str): asset filename
"""
return os.sep.join(__file__.split(os.sep)[:-5]) + '/data/uploads/' + filename
return os.sep.join(os.path.abspath(__file__).split(os.sep)[:-5]) + '/data/uploads/' + filename
def upload_handout(self, handout_filename):
"""
......
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