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