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