コード例 #1
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_url_list_empty(self):
     validate_url_list({"url-list": []})
コード例 #2
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_url_list_invalid_url(self):
     validate_url_list({"url-list": ["udp:test"]})
コード例 #3
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_url_list_valid_url(self):
     validate_url_list({"url-list": ["http://google.com"]})
コード例 #4
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_url_list_string(self):
     validate_url_list({"url-list": "http://google.com"})
コード例 #5
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 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"})