testapp.util

Attributes

RESULT_FILE

READ_COMMAND

WRITE_COMMAND

ERASE_COMMAND

FLUSH_COMMAND

SSD_COMMAND

SSD_MODULE

BASE_DIR

Functions

get_ssd_result(→ str)

validate_ssd_command(→ None)

validate_ssd_lba(→ None)

validate_ssd_end_lba(→ None)

validate_ssd_value(→ None)

capture_output(func)

is_in_range_lba(→ bool)

is_valid_hex(s)

validate_size(size)

Module Contents

testapp.util.RESULT_FILE = 'result.txt'[source]
testapp.util.READ_COMMAND = 'R'[source]
testapp.util.WRITE_COMMAND = 'W'[source]
testapp.util.ERASE_COMMAND = 'E'[source]
testapp.util.FLUSH_COMMAND = 'F'[source]
testapp.util.SSD_COMMAND = 'ssd'[source]
testapp.util.SSD_MODULE = 'ssd'[source]
testapp.util.BASE_DIR[source]
testapp.util.get_ssd_result() str[source]
testapp.util.validate_ssd_command(command: str) None[source]
testapp.util.validate_ssd_lba(lba: str | int) None[source]
testapp.util.validate_ssd_end_lba(lba: str | int) None[source]
testapp.util.validate_ssd_value(value: str | int) None[source]
testapp.util.capture_output(func)[source]
testapp.util.is_in_range_lba(lba: str) bool[source]
testapp.util.is_valid_hex(s: str)[source]
testapp.util.validate_size(size: str)[source]