diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-09-30 17:27:16 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-09-30 19:27:36 -0400 |
commit | 30e59542153b567bb44bd36c3fb21d4e6fef5f83 (patch) | |
tree | 541265381750799ab72306f913d9523dd9f94b06 /MANIFEST.in | |
parent | ccd9a05cd6540c11601b83ccaa206127725bf5fd (diff) |
CAN test rework to improve robustness
Changes:
- Rework CAN test CAN data playing with canplayer to fix racing
against listening for the binding events the data will result in.
The previous use of a fixture to drive canplayer has been replaced
with a small wrapper class that is inline in the test code to
ensure the correct order of operations.
- Copy required CAN test CAN data files used in the afb-test widget
into pyagl/tests/data/can to remove dependency on test widget
presence and contents. The previous prepare_replay_files fixture
has been changed into a per-test fixture that scp's the file into
/tmp on the target if running remotely. When running on target,
they are used directly out of the pyagl install.
- Improve test_Filter_Test_01_Step_2 using the updated canreplay
file copied from agl-service-can-low-level, there are now several
messages that test the filter range.
- Add a tweak to cut the fixture parameter(s) off the test names
when generating LAVA output.
- Reordered test_auth to be after the write without authorization
test to avoid spurious failures. Also removed the duplicate
test in the J1939 tests and replaced it with an appropriate
dependency.
- Replace xfail marks on J1939 tests with logic to detect J1939
kernel support and mark them dynamically.
- Add missing can_j1939 marking to the test
test_low_can_subscribe_j1939_event.
- Use known_hosts=None in asyncssh.connect calls to ensure remote
testing is not affected by local SSH known_hosts configuration.
- Tweak
- Update some comment formatting to improve readability.
- Simplify logic a bit in AGLBaseService.listener function.
Bug-AGL: SPEC-3585
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4ef660c175468ef57873c03a33cb5ec7e6f16568
Diffstat (limited to 'MANIFEST.in')
-rw-r--r-- | MANIFEST.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 7d48f9b..c6f454e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -include pyagl\ * +include pyagl/data/* include *.txt include tox.ini recursive-include templates *.json |