コード例 #1
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_httpseeds_valid_url(self):
     validate_http_seeds({"httpseeds": ["http://google.com"]})
コード例 #2
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_httpseeds_empty(self):
     validate_http_seeds({"httpseeds": []})
コード例 #3
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_httpseeds_invalid_url(self):
     validate_http_seeds({"httpseeds": ["http:test"]})
コード例 #4
0
ファイル: test_utilities.py プロジェクト: synctext/tribler
 def test_valid_torrent_file_httpseeds_wrong_type(self):
     validate_http_seeds({"httpseeds": {"x": "a"}})
コード例 #5
0
 def test_valid_torrent_file_httpseeds_valid_url(self):
     validate_http_seeds({"httpseeds": ["http://google.com"]})
コード例 #6
0
 def test_valid_torrent_file_httpseeds_invalid_url(self):
     validate_http_seeds({"httpseeds": ["http:test"]})
コード例 #7
0
 def test_valid_torrent_file_httpseeds_empty(self):
     validate_http_seeds({"httpseeds": []})
コード例 #8
0
 def test_valid_torrent_file_httpseeds_wrong_type(self):
     validate_http_seeds({"httpseeds": {"x": "a"}})