Another Step in the Quest to clean up the code base.

This commit is contained in:
2017-09-08 07:19:50 +02:00
parent ce218080b2
commit b3ab9798b5
229 changed files with 1915 additions and 15175 deletions

View File

@@ -25,12 +25,11 @@ class KyuDanTest(TestCase):
'test_kyu_dan_rankings.json'
]
def recalc(self):
"""
Test if a Kyu/Dan Ranking recalculation gives the same result as stored.
:return:
Test if a Kyu/Dan Ranking recalculation gives the same result as stored.
:return:
"""
for ranking in KyuDanRanking.objects.all():
@@ -49,8 +48,8 @@ class KyuDanTest(TestCase):
def test_partial_recalc(self):
"""
Test if partial recalclulation gives the same results.
:return:
:return:
"""
for ranking in KyuDanRanking.objects.all():
@@ -78,8 +77,8 @@ class KyuDanTest(TestCase):
def test_points_sum(self):
"""
Test if the sum of the kyu / dan points equals the value in the Ranking.
:return: None
:return: None
"""
for ranking in KyuDanRanking.objects.all():
dan_kyu = 'dan_points' if ranking.dan else 'kyu_points'