File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ async def main_summary_uptake(product, version):
93
93
status = Status .INCOMPLETE
94
94
else :
95
95
status = Status .EXISTS
96
- message = 'Telemetry uptake for version {} is {:.1f }%' .format (
96
+ message = 'Telemetry uptake for version {} is {:.3f }%' .format (
97
97
version_name , ratio * 100 )
98
98
99
99
return build_task_response (status , url , message )
Original file line number Diff line number Diff line change @@ -1085,7 +1085,7 @@ async def test_telemetry_uptake_tasks_incomplete(self):
1085
1085
received = await telemetry .main_summary_uptake ('firefox' , '57.0a1' )
1086
1086
assert received ["status" ] == Status .INCOMPLETE .value
1087
1087
assert received ["message" ] == ("Telemetry uptake for version 57.0a1 "
1088
- "({}) is 0.0 %" .format (build_id ))
1088
+ "({}) is 0.000 %" .format (build_id ))
1089
1089
1090
1090
async def test_telemetry_uptake_tasks_exists (self ):
1091
1091
build_id = "{}192146" .format (yesterday (formating = '%Y%m%d' ))
@@ -1128,4 +1128,4 @@ async def test_telemetry_uptake_tasks_exists(self):
1128
1128
received = await telemetry .main_summary_uptake ('firefox' , '57.0a1' )
1129
1129
assert received ["status" ] == Status .EXISTS .value
1130
1130
assert received ["message" ] == ("Telemetry uptake for version 57.0a1 "
1131
- "({}) is 55.0 %" .format (build_id ))
1131
+ "({}) is 55.001 %" .format (build_id ))
You can’t perform that action at this time.
0 commit comments