def test_invalid_format(self): assert find_format("http://localhost") == ""
def test_valid_format(self): assert find_format("http://localhost/test.zip") == "zip"
def test_unknown_format(self): assert find_format("http://localhost/test.sql") == ""