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