Run black
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
DESCRIPTION = (
|
DESCRIPTION = (
|
||||||
|
@ -13,6 +13,7 @@ class Resolution:
|
|||||||
height: Height of video.
|
height: Height of video.
|
||||||
width: Width of video.
|
width: Width of video.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
height: int
|
height: int
|
||||||
width: int
|
width: int
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ class VideoFile:
|
|||||||
filename: The filename of the video file.
|
filename: The filename of the video file.
|
||||||
location: The location of the video file.
|
location: The location of the video file.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
filename: str
|
filename: str
|
||||||
location: str
|
location: str
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ def test_generate_html_for_videos():
|
|||||||
elif line == 3:
|
elif line == 3:
|
||||||
assert html.startswith("<!-- Generated at ")
|
assert html.startswith("<!-- Generated at ")
|
||||||
elif line == 4:
|
elif line == 4:
|
||||||
assert html == '<head>'
|
assert html == "<head>"
|
||||||
elif line == 5:
|
elif line == 5:
|
||||||
assert html == '<meta property="og:type" content="video.other">'
|
assert html == '<meta property="og:type" content="video.other">'
|
||||||
elif line == 6:
|
elif line == 6:
|
||||||
|
Reference in New Issue
Block a user