Module Import alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A re unittest TestCase embed_video.backends VideoBackend detect_backend CustomBackend N/A VideoBackend N/A N/A re_detect N/A N/A re compile http://myvideo\.com/[0-9]+ N/A re_code N/A N/A re compile http://myvideo\.com/(?P<code>[0-9]+) N/A pattern_url {protocol}://play.myvideo.com/c/{code}/ N/A pattern_thumbnail_url {protocol}://thumb.myvideo.com/c/{code}/ N/A CustomBackendTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self backend N/A detect_backend http://myvideo.com/1530 N/A test_detect_backend N/A N/A self N/A N/A N/A N/A N/A self assertIsInstance N/A self backend CustomBackend N/A test_code N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self backend code 1530 N/A test_url N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self backend get_url http://play.myvideo.com/c/1530/ N/A test_url_https N/A N/A self N/A N/A N/A N/A N/A self backend is_secure True N/A N/A N/A self assertEqual N/A N/A N/A self backend get_url https://play.myvideo.com/c/1530/ N/A test_thumbnail N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self backend get_thumbnail_url http://thumb.myvideo.com/c/1530/ N/A N/A