def test_windows_file_urls(): url = 'file:///c:/WINDOWS/clock.avi' assert utils.is_url(url) assert utils.file_url_to_path( url, verify_exists=False) == 'c:/WINDOWS/clock.avi', utils.file_url_to_path( url)
def test_windows_file_urls(): url = 'file:///c:/WINDOWS/clock.avi' assert utils.is_url(url) assert utils.file_url_to_path(url, verify_exists=False).get('path',None) == 'c:/WINDOWS/clock.avi', utils.file_url_to_path(url)
def test_windows_file_urls(): url = "file:///c:/WINDOWS/clock.avi" assert utils.is_url(url) assert utils.file_url_to_path(url, verify_exists=False) == "c:/WINDOWS/clock.avi", utils.file_url_to_path(url)
def test_windows_file_urls(): url = 'file:///c:/WINDOWS/clock.avi' assert_true(utils.is_url(url)) assert_equals(utils.file_url_to_path(url, verify_exists=False), 'c:/WINDOWS/clock.avi', utils.file_url_to_path(url))