예제 #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