@pytest.mark.parametrize('size, unit, base, result', [(1, 'KB', 1000, '1000.00'), (1, 'MB', 1000, '1000000.00'), (1, 'GB', 1000, '1000000000.00'), (1, 'TB', 1000, '1000000000000.00'), (4, 'TB', 1000, '4000000000000.00'), (1, 'PB', 1000, '1000000000000000.00'), (1, 'EB', 1000, '1000000000000000000.00')])
def test_human2bytes_base(size, unit, base, result):
    assert (bytesconv.human2bytes(size, unit, base=base) == result)
@pytest.mark.parametrize('size, unit, base, result', [(1, 'KB', 1000, '1000.00'), (1, 'MB', 1000, '1000000.00'), (1, 'GB', 1000, '1000000000.00'), (1, 'TB', 1000, '1000000000000.00'), (4, 'TB', 1000, '4000000000000.00'), (1, 'PB', 1000, '1000000000000000.00'), (1, 'EB', 1000, '1000000000000000000.00')])
def test_human2bytes_base(size, unit, base, result):
    assert (bytesconv.human2bytes(size, unit, base=base) == result)