Commit 819e03b2 authored by Boxiang Sun's avatar Boxiang Sun

theia: peertube test fixup

parent 62550889
...@@ -301,7 +301,8 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): ...@@ -301,7 +301,8 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
'Authorization': token_type + ' ' + access_token 'Authorization': token_type + ' ' + access_token
} }
video_name = "Small test video" video_name = "Small test video"
file_path = "../../peertube/small.mp4" file_path = "../../peertube/test/small.mp4"
print(file_path = os.path.realpath(__file__))
file_mime_type = guess_type(file_path)[0] file_mime_type = guess_type(file_path)[0]
with open(file_path, 'rb') as f: with open(file_path, 'rb') as f:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment