diff --git a/pureboot/test/test_handshake.py b/test/test_handshake.py similarity index 95% rename from pureboot/test/test_handshake.py rename to test/test_handshake.py index 7fdfbb3..68bdf9b 100644 --- a/pureboot/test/test_handshake.py +++ b/test/test_handshake.py @@ -8,14 +8,14 @@ this, ~60 reboots/s of UART-reset garbage in which a stray 0x2b reads as a prompt — otherwise spins the tool forever. Regression for that hang, plus a control that a well-behaved loader still connects. -Stdlib only; run with `python test/test_handshake.py`. +Stdlib only; run with `python test/test_handshake.py`. Not yet wired into ctest. """ import importlib.util import pathlib import threading import time -PB = pathlib.Path(__file__).resolve().parents[1] / "pureboot.py" +PB = pathlib.Path(__file__).resolve().parents[1] / "pureboot" / "pureboot.py" _spec = importlib.util.spec_from_file_location("pureboot", PB) pb = importlib.util.module_from_spec(_spec) _spec.loader.exec_module(pb)