Commit c15db54e authored by Boxiang Sun's avatar Boxiang Sun

theia: peertube test fixup

parent 5f0c6c2e
...@@ -392,9 +392,9 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience): ...@@ -392,9 +392,9 @@ class TestTheiaResiliencePeertube(test_resiliency.TestTheiaResilience):
# path like "streaming-playlists/hls/XXXX/YYYY.mp4" # path like "streaming-playlists/hls/XXXX/YYYY.mp4"
self.assertIn('streaming-playlists', video_path) self.assertIn('streaming-playlists', video_path)
streaming-playlists_path = video_path[video_path.index('streaming-playlists'):] streaming_video_path = video_path[video_path.index('streaming-playlists'):]
video_url = frontend_url + 'static/' + streaming_video_list video_url = frontend_url + 'static/' + streaming_video_path
response = requests.get(video_url, verify=False) response = requests.get(video_url, verify=False)
# The video mp4 file is accesible through the URL # The video mp4 file is accesible through the URL
......
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