コード例 #1
0
 def test_6min_and_1sec_duration(self):
     assert calc_call_cost(calls[9]) == 0.29
コード例 #2
0
 def test_5min_and_59sec_duration(self):
     assert calc_call_cost(calls[7]) == 0.27
コード例 #3
0
 def test_6min_duration(self):
     assert calc_call_cost(calls[8]) == 0.27
コード例 #4
0
 def test_5min_duration(self):
     assert calc_call_cost(calls[6]) == 0.25
コード例 #5
0
 def test_61sec_duration(self):
     assert calc_call_cost(calls[5]) == 0.10
コード例 #6
0
 def test_60sec_duration(self):
     assert calc_call_cost(calls[4]) == 0.05
コード例 #7
0
 def test_59sec_duration(self):
     assert calc_call_cost(calls[3]) == 0.05
コード例 #8
0
 def test_0sec_duration(self):
     assert calc_call_cost(calls[0]) == 0