Age | Commit message (Collapse) | Author | Files | Lines |
|
afbresponse() in base.py does wrong assignment at the end which
effectively makes it work only for responses and discards EVENT data
because there is no 'response' key in the json emitted for the event
Bug-AGL: SPEC-3585
Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com>
Change-Id: I69b15127ca386148687d83b3a231c3aa53e789b7
|
|
Update requirements.txt to match AsyncSSH with newer 2.3.0 version
Update tox.ini with proper path to run in CI and set
AGL_AVAILABLE_INTERFACES to "ethernet" by default
Bug-AGL: SPEC-3583
Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com>
Change-Id: If5f000b2dd17354cb97aeddd882bf7978b3ddb97
|
|
Since CI runs qemu with a soundcard enabled, and it is easy to do
so with runqemu with the "audio" option, remove the "hwrequired"
markers on the audiomixer tests that have them.
Bug-AGL: SPEC-3572
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I290845e802168116f4769dd011c84875d2e4b5ac
|
|
Changes:
- Disable progress and verbose output when in LAVA output mode to
clean up output.
- Disable color output in LAVA output mode.
- Removed STARTTC and ENDTC lines for passed/skipped tests to
reduce output volume, they are still printed around the output
of failed tests.
- Tweaked error output in LAVA output mode so it will be usefully
parsed out by LAVA and show up in results.
- Fixed skipped test output in LAVA output mode, the logic needed
tweaking to get a TESTCASE line output for them. Also, tweaked
the LAVA result to 'skip' instead of 'pass' for skipped tests,
as LAVA understands 'skip'.
- By request, add 0.25 second delay after each test in LAVA output
mode to slow down serial output.
- Updated documentation to add some invocation examples.
Bug-AGL: SPEC-3572
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2e2b213dba2a9751210512d698afb67f7543cbe1
|
|
Add .gitreview file for AGL Gerrit usage.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Updates to prepare for AGL CI use
See merge request konsulko/internal/pyagl!2
|
|
To ensure automated use of the tests cannot get hung, add a timeout
on waiting for binding responses. The default value is 5 seconds,
it may be over-riden by setting the AGL_TEST_TIMEOUT environment
variable.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
The changes in AGL for SPECs 3557 and 3558 mean that the audiomixer
and mediascanner bindings do not need to be started before running
tests, disable doing so.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Rework the test marking to allow deriving the test mark name for
a given binding from the binding name, i.e. agl-service-X. Due to
dashes not being valid in pytest marks, underscores have been used
instead, i.e. agl-service-can-low-level -> can_low_level. The
intent is to allow CI tooling to easily work up a pytest -k option
to run the tests for a specific binding.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Revert the xfail changes to the geoclue and weather tests, as it's
been clarified that network connectivity is assumed present in AGL
CI.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
|
|
adding a fix where if multiple instances of the same service are available
fixing geoclue to xfail due to lack of internet connection and removing subscription wait
moving scannable interfaces to a fixture
adding dependency and moving network tests order
|
|
runafmservice and startsystemdservice methods and adjusting the portfinder() to run the missing service.
|
|
Conflicts:
pyagl/tests/test_audiomixer.py
pyagl/tests/test_bluetooth.py
|
|
Decorator cleanups
|
|
Assorted fixes
See merge request konsulko/internal/pyagl!1
|
|
Rename AGL_AVAILABLE_TECHS to AGL_AVAILABLE_INTERFACES for clarity,
and update README.md to document it and improve the test running
section.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Mark more tests that seem to require hardware in the audiomixer and
bluetooth tests as hwrequired, with an eye towards having no failures
when running with "not hwrequired" on qemu.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Add Apache 2.0 license text as LICENSE file, and copyright headers
to all source files.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
|
|
and test
mediascanner.py - adding missing agl service mediascanner support and tests
test_network.py - adding missing scan_services test
adding base service and tests files for signal_composer and can_low
|
|
|
|
|
|
|
|
|
|
|
|
Enabling custom pytest --lava option for LAVA CI integration
Enabling tox for CI
bluetooth::default_adapter should support setting a default one according to documentation in README.md
|
|
|
|
test_location_events
|
|
|
|
fix test_entry_phonebook to xfail instead fail when no records are returned but query is successful
replace 'is not' with !=
|
|
If not caught when that happens, it will raise TypeErrors and random unawaited coros/tasks
|
|
intelligently
|
|
reversed and may break tests which require state to be carried over
adding pytest-reverse to requirements/setup.py to be readily available if needed
|
|
unsubscribe test below
commenting out homescreen tap test because the api currently does not respond to it
|
|
|
|
removing unnecesary import in test_weather
adding README.md
fixing requirements and setup.py to include pytest-dependency instead -depends
|
|
|
|
PEP8 cleanups, newlines
replacing AFBResponse with service.afbresponse()
Adding BT-PBAP CLI callables
Adding bluetooth subscription tests
|
|
|
|
|
|
|
|
received without info
|
|
|
|
|
|
|
|
|
|
|
|
Adding argparser to bluetooth
|
|
|