summaryrefslogtreecommitdiff
path: root/test/py/tests/test_md.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-09 09:07:15 -0700
committerSimon Glass <sjg@chromium.org>2025-03-15 11:02:04 +0000
commitd9ed4b75add4b4ccc37cf32b54cd9c77f48e3396 (patch)
tree842b5b9b6ede8c5aa232cc6c60395618be6b6c21 /test/py/tests/test_md.py
parent752c3769874596d012cd8325099d2ae20123f989 (diff)
test/py: Drop u_boot_ prefix on test files
We know this is U-Boot so the prefix serves no purpose other than to make things longer and harder to read. Drop it and rename the files. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # test_android / test_dfu
Diffstat (limited to 'test/py/tests/test_md.py')
-rw-r--r--test/py/tests/test_md.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/py/tests/test_md.py b/test/py/tests/test_md.py
index 69e12eb625f..5c7bcbd420b 100644
--- a/test/py/tests/test_md.py
+++ b/test/py/tests/test_md.py
@@ -3,14 +3,14 @@
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
import pytest
-import u_boot_utils
+import utils
@pytest.mark.buildconfigspec('cmd_memory')
def test_md(ubman):
"""Test that md reads memory as expected, and that memory can be modified
using the mw command."""
- ram_base = u_boot_utils.find_ram_base(ubman)
+ ram_base = utils.find_ram_base(ubman)
addr = '%08x' % ram_base
val = 'a5f09876'
expected_response = addr + ': ' + val
@@ -26,7 +26,7 @@ def test_md_repeat(ubman):
"""Test command repeat (via executing an empty command) operates correctly
for "md"; the command must repeat and dump an incrementing address."""
- ram_base = u_boot_utils.find_ram_base(ubman)
+ ram_base = utils.find_ram_base(ubman)
addr_base = '%08x' % ram_base
words = 0x10
addr_repeat = '%08x' % (ram_base + (words * 4))