test-framework: Rename get_free_memory funtion

Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
Kamil Gierszewski 2023-10-02 12:28:22 +02:00
parent be9286025d
commit d62106e850
No known key found for this signature in database

View File

@ -199,7 +199,7 @@ def defaultize_memory_affecting_functions():
TestRun.executor.run_expect_success("swapon --all")
def get_free_memory():
def get_mem_free():
"""Returns free amount of memory in bytes"""
output = TestRun.executor.run_expect_success("free -b")
output = output.stdout.splitlines()