Skip to content

Commit

Permalink
Add new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Pino committed Oct 7, 2018
1 parent 05365ef commit d97d488
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

v0.0.13 (07-09-2018)
********************

- Adds proxies and random user-agent in headers

v0.0.12 (27-08-2018)
********************

Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ recommend HBO, Netflix, Filmin, Movistar, Rakuten
Changelog
=========

v0.0.13 (07-09-2018)
********************

- Adds proxies and random user-agent in headers

v0.0.12 (27-08-2018)
********************

Expand Down
2 changes: 1 addition & 1 deletion python_filmaffinity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

import __meta__
from .client import Client
from .config import FIELDS_TYPE

Expand Down
2 changes: 1 addition & 1 deletion python_filmaffinity/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__summary__ = 'Python wrapper for FilmAffinity'
__url__ = 'https://github.com/sergiormb/python_filmaffinityy'

__version__ = '0.0.12'
__version__ = '0.0.13'

__install_requires__ = [
'requests>=2.0.1',
Expand Down
6 changes: 1 addition & 5 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class TestApi(TestCase):
service = python_filmaffinity.FilmAffinity()

def tearDown(self):
time.sleep(4)

Expand Down Expand Up @@ -56,7 +56,6 @@ def test_top_filmaffinity(self):
self.check_list(movies)

def test_top_series(self):
# For renovate the headers
self.service = python_filmaffinity.FilmAffinity()
movies = self.service.top_tv_series()
self.check_list(movies)
Expand Down Expand Up @@ -89,7 +88,6 @@ def test_top_netflix(self):
self.check_list(movies)

def test_top_movistar(self):
# For renovate the headers
self.service = python_filmaffinity.FilmAffinity()
movies = self.service.top_movistar(top=10)
self.check_list(movies)
Expand Down Expand Up @@ -123,13 +121,11 @@ def test_recommend_movistar(self):
self.check_element(movie)

def test_recommend_rakuten(self):
# For renovate the headers
self.service = python_filmaffinity.FilmAffinity()
movie = self.service.recommend_rakuten()
self.check_element(movie)

def test_top_dvd(self):
# For renovate the headers
self.service = python_filmaffinity.FilmAffinity()
movies = self.service.top_dvd(top=10)
time.sleep(4)
Expand Down

0 comments on commit d97d488

Please sign in to comment.