slpkg/tests/test_units.py
Dimitris Zlatanidis 055145f2bb Added tests
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
2020-02-17 17:14:24 +01:00

7 lines
No EOL
157 B
Python

from slpkg.sizes import units
def test_units():
"""Testing the units metrics
"""
assert ["Kb", "Kb"], ["100", "100"] == units(['100', ['100']])