reformat code

This commit is contained in:
2018-02-11 10:56:44 +01:00
parent 076808f183
commit d9d78a969f
43 changed files with 265 additions and 248 deletions

View File

@@ -38,7 +38,7 @@ class PrizeCalculationTestCase(TestCase):
class PrizeGetTestCase(TestCase):
def get_prize_for(self, start, end, pph=0, hh_start=None, hh_end=None, pphh=0, expected=(0,0,0)):
def get_prize_for(self, start, end, pph=0, hh_start=None, hh_end=None, pphh=0, expected=(0, 0, 0)):
self.assertEqual(get_prize_for(start, end, pph, hh_start, hh_end, pphh), expected)
def test_gpf_1(self):
@@ -109,4 +109,4 @@ class PrizeGetTestCase(TestCase):
pph = 10
pphh = 5
expected = (7.5, 5, 2.5)
self.get_prize_for(start, end, pph, hh_start, hh_end, pphh, expected)
self.get_prize_for(start, end, pph, hh_start, hh_end, pphh, expected)