reformat code
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user