]> jfr.im git - yt-dlp.git/blame - test/test_import.py
Add test for Youku (Mentioned in #314)
[yt-dlp.git] / test / test_import.py
CommitLineData
be0f77d0
PH
1import unittest
2
3import sys
4import os.path
5import subprocess
6
7class TestImport(unittest.TestCase):
59ae15a5
PH
8 def test_import(self):
9 rootDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
10 subprocess.check_call([sys.executable, '-c', 'import youtube_dl'], cwd=rootDir)
be0f77d0
PH
11
12if __name__ == '__main__':
59ae15a5 13 unittest.main()