From e7445e9f0dd919949164964eda5bc811f766316c Mon Sep 17 00:00:00 2001 From: Dustyn Gibson <miigotu@gmail.com> Date: Sun, 18 Oct 2015 19:18:22 -0700 Subject: [PATCH] We have no requirements other than Python 2.7.10 --- .travis.yml | 2 +- readme.md | 2 +- requirements.txt | 2 -- tests/ssl_sni_tests.py | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml index 209f96978..dcbb87b40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - 2.7 + - 2.7.10 sudo: false diff --git a/readme.md b/readme.md index ec54efcaf..e1531177e 100644 --- a/readme.md +++ b/readme.md @@ -27,7 +27,7 @@ Automatic Video Library Manager for TV Shows. It watches for new episodes of you - [Mobile](http://imgur.com/a/WPyG6) #### 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 #### [](http://feathub.com/SiCKRAGETV/SickRage) diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 4c95144c6..000000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -mako -pyopenssl==0.13.1 diff --git a/tests/ssl_sni_tests.py b/tests/ssl_sni_tests.py index f7adf5bd3..c20fcbfa7 100644 --- a/tests/ssl_sni_tests.py +++ b/tests/ssl_sni_tests.py @@ -30,10 +30,11 @@ from sickrage.helper.exceptions import ex class SNI_Tests(unittest.TestCase): + self_signed_cert_providers = ["Womble's Index", "Libertalia"] def test_SNI_URLS(self): print '' #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 try: requests.head(provider.url, verify=certifi.where(), timeout=5) @@ -45,7 +46,6 @@ class SNI_Tests(unittest.TestCase): raise else: print 'Cannot verify certificate for %s' % provider.name - pass except Exception: pass -- GitLab