Private GIT

Skip to content
Snippets Groups Projects
Commit 41d7d9d8 authored by miigotu's avatar miigotu Committed by GitHub
Browse files

Merge branch 'develop' into master

parents 5071e52c e55a92a4
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class ComingEpisodesTests(unittest.TestCase): ...@@ -44,7 +44,7 @@ class ComingEpisodesTests(unittest.TestCase):
""" """
def test_get_categories(self): def test_get_categories(self):
""" """
Test get categories Tests if get_categories returns the valid format and the right values
""" """
categories_list = [ categories_list = [
None, [], ['A', 'B'], ['A', 'B'], '', 'A|B', 'A|B', None, [], ['A', 'B'], ['A', 'B'], '', 'A|B', 'A|B',
...@@ -63,7 +63,7 @@ class ComingEpisodesTests(unittest.TestCase): ...@@ -63,7 +63,7 @@ class ComingEpisodesTests(unittest.TestCase):
def test_get_categories_map(self): def test_get_categories_map(self):
""" """
Test get categories map Tests if get_categories_map returns the valid format and the right values
""" """
categories_list = [ categories_list = [
None, [], ['A', 'B'], ['A', 'B'] None, [], ['A', 'B'], ['A', 'B']
...@@ -82,7 +82,7 @@ class ComingEpisodesTests(unittest.TestCase): ...@@ -82,7 +82,7 @@ class ComingEpisodesTests(unittest.TestCase):
def test_get_sort(self): def test_get_sort(self):
""" """
Test get sort Tests if get_sort returns the right sort of coming episode
""" """
test_cases = { test_cases = {
None: 'date', None: 'date',
......
...@@ -43,7 +43,7 @@ class HistoryTests(unittest.TestCase): ...@@ -43,7 +43,7 @@ class HistoryTests(unittest.TestCase):
""" """
def test_get_actions(self): def test_get_actions(self):
""" """
Test get actions Tests whether or not the different kinds of actions an episode can have are returned correctly
""" """
test_cases = { test_cases = {
None: [], None: [],
...@@ -70,7 +70,7 @@ class HistoryTests(unittest.TestCase): ...@@ -70,7 +70,7 @@ class HistoryTests(unittest.TestCase):
def test_get_limit(self): def test_get_limit(self):
""" """
Test get limit Tests the static get limit method which should return the limit on the amount of elements that should be shown/returned
""" """
test_cases = { test_cases = {
None: 0, None: 0,
......
...@@ -48,7 +48,7 @@ class ShowTests(unittest.TestCase): ...@@ -48,7 +48,7 @@ class ShowTests(unittest.TestCase):
def test_find(self): def test_find(self):
""" """
Test find Test find tv shows by indexer_id
""" """
sickbeard.QUALITY_DEFAULT = Quality.FULLHDTV sickbeard.QUALITY_DEFAULT = Quality.FULLHDTV
...@@ -94,7 +94,7 @@ class ShowTests(unittest.TestCase): ...@@ -94,7 +94,7 @@ class ShowTests(unittest.TestCase):
def test_validate_indexer_id(self): def test_validate_indexer_id(self):
""" """
Test validate indexer id Tests if the indexer_id is valid and if so if it returns the right show
""" """
sickbeard.QUALITY_DEFAULT = Quality.FULLHDTV sickbeard.QUALITY_DEFAULT = Quality.FULLHDTV
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment