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