diff options
author | Simon Glass <sjg@chromium.org> | 2025-02-09 09:07:19 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-03-15 11:47:05 +0000 |
commit | 13e8d14442a85a8556211a9950a5b6f80b447901 (patch) | |
tree | 14ea0ca0ef443959df1ac5afa7b5114e6910bf77 /test/py/tests/test_net.py | |
parent | 0043428777f8b4dabd8124aa60f53fc7a14c9369 (diff) |
test: Make net tests depend on CONFIG_CMD_NET
This fails on samus_tpl as there is no 'net' command.
=> net list
Unknown command 'net' - try 'help' !
Fix it by adding a condition for the test.
Add a blank line to keep pylint happy.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests/test_net.py')
-rw-r--r-- | test/py/tests/test_net.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py index 9f4ee0c9ed4..4732e4b57f8 100644 --- a/test/py/tests/test_net.py +++ b/test/py/tests/test_net.py @@ -91,6 +91,8 @@ env__router_on_net = True net_set_up = False net6_set_up = False + +@pytest.mark.buildconfigspec('cmd_net') def test_net_pre_commands(ubman): """Execute any commands required to enable network hardware. |