def test_detect_format_works_with_urls_with_query_and_fragment_components():
    url = 'http://someplace.com/foo/path.csv?foo=bar#baz'
    assert helpers.detect_format(url) == 'csv'
Example #2
0
def test_detect_format_works_with_urls_with_query_and_fragment_components():
    url = 'http://someplace.com/foo/path.csv?foo=bar#baz'
    assert helpers.detect_format(url) == 'csv'
def test_detect_format():
    assert helpers.detect_format('path.CsV') == 'csv'
Example #4
0
def test_detect_format():
    assert helpers.detect_format('path.CsV') == 'csv'