Exemplo n.º 1
0
 def test_valid_torrent_file_url_list_empty(self):
     validate_url_list({"url-list": []})
Exemplo n.º 2
0
 def test_valid_torrent_file_url_list_invalid_url(self):
     validate_url_list({"url-list": ["udp:test"]})
Exemplo n.º 3
0
 def test_valid_torrent_file_url_list_valid_url(self):
     validate_url_list({"url-list": ["http://google.com"]})
Exemplo n.º 4
0
 def test_valid_torrent_file_url_list_string(self):
     validate_url_list({"url-list": "http://google.com"})
Exemplo n.º 5
0
 def test_valid_torrent_file_url_list_wrong_type(self):
     validate_url_list({"url-list": ()})
Exemplo n.º 6
0
 def test_valid_torrent_file_url_list_empty(self):
     validate_url_list({"url-list": []})
Exemplo n.º 7
0
 def test_valid_torrent_file_url_list_valid_url(self):
     validate_url_list({"url-list": ["http://google.com"]})
Exemplo n.º 8
0
 def test_valid_torrent_file_url_list_invalid_url(self):
     validate_url_list({"url-list": ["udp:test"]})
Exemplo n.º 9
0
 def test_valid_torrent_file_url_list_wrong_type(self):
     validate_url_list({"url-list": ()})
Exemplo n.º 10
0
 def test_valid_torrent_file_url_list_string(self):
     validate_url_list({"url-list": "http://google.com"})