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