Skip to content

Fix for humanize_hive_power

Mateusz Żebrak requested to merge mzebrak/fixes into develop

This MR fixes:

The situation when some account has 1HP, the application will crash since humanize_hive_power assertion will fail.

More info:

Previously we were getting higher values >1 like 2 Bytes

It is possible that we will get

formatted_string="1 Byte"

so assertion will crash the application like:

AssertionError: Given string does not match regex

This Fix prevents this crash.

Edited by Mateusz Żebrak

Merge request reports