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