projects
/
youtube-dl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add irc channel notice
[youtube-dl]
/
test
/
test_import.py
1
import unittest
2
3
import sys
4
import os.path
5
import subprocess
6
7
class TestImport(unittest.TestCase):
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)
11
12
if __name__ == '__main__':
13
unittest.main()