Exemplo n.º 1
0
 def test_invalid_format(self):
     assert find_format("http://localhost") == ""
Exemplo n.º 2
0
 def test_valid_format(self):
     assert find_format("http://localhost/test.zip") == "zip"
Exemplo n.º 3
0
 def test_unknown_format(self):
     assert find_format("http://localhost/test.sql") == ""
 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") == ""