Private GIT

Skip to content
Snippets Groups Projects
Commit e7445e9f authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

We have no requirements other than Python 2.7.10

parent 16fa60ef
No related branches found
No related tags found
No related merge requests found
language: python language: python
python: python:
- 2.7 - 2.7.10
sudo: false sudo: false
......
...@@ -27,7 +27,7 @@ Automatic Video Library Manager for TV Shows. It watches for new episodes of you ...@@ -27,7 +27,7 @@ Automatic Video Library Manager for TV Shows. It watches for new episodes of you
- [Mobile](http://imgur.com/a/WPyG6) - [Mobile](http://imgur.com/a/WPyG6)
#### Dependencies #### Dependencies
To run SickRage from source you will need Python 2.7.x and PyOpenSSL To run SickRage from source you will need Python 2.7.10
#### [![Feature Requests](https://cloud.githubusercontent.com/assets/390379/10127973/045b3a96-6560-11e5-9b20-31a2032956b2.png)](http://feathub.com/SiCKRAGETV/SickRage) #### [![Feature Requests](https://cloud.githubusercontent.com/assets/390379/10127973/045b3a96-6560-11e5-9b20-31a2032956b2.png)](http://feathub.com/SiCKRAGETV/SickRage)
......
mako
pyopenssl==0.13.1
...@@ -30,10 +30,11 @@ from sickrage.helper.exceptions import ex ...@@ -30,10 +30,11 @@ from sickrage.helper.exceptions import ex
class SNI_Tests(unittest.TestCase): class SNI_Tests(unittest.TestCase):
self_signed_cert_providers = ["Womble's Index", "Libertalia"]
def test_SNI_URLS(self): def test_SNI_URLS(self):
print '' print ''
#Just checking all providers - we should make this error on non-existent urls. #Just checking all providers - we should make this error on non-existent urls.
for provider in providers.makeProviderList(): for provider in [provider for provider in providers.makeProviderList() if provider.name not in self.self_signed_cert_providers]:
print 'Checking %s' % provider.name print 'Checking %s' % provider.name
try: try:
requests.head(provider.url, verify=certifi.where(), timeout=5) requests.head(provider.url, verify=certifi.where(), timeout=5)
...@@ -45,7 +46,6 @@ class SNI_Tests(unittest.TestCase): ...@@ -45,7 +46,6 @@ class SNI_Tests(unittest.TestCase):
raise raise
else: else:
print 'Cannot verify certificate for %s' % provider.name print 'Cannot verify certificate for %s' % provider.name
pass
except Exception: except Exception:
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment