aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-31adding an option during service init to run the service it is missingEdi Feschiyan5-88/+104
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
2020-08-31mediascanner service is not running in the system on boot, so adding ↵Edi Feschiyan3-20/+78
runafmservice and startsystemdservice methods and adjusting the portfinder() to run the missing service.
2020-08-31Merge branch 'master' of gitlab.com:konsulko/internal/pyagl into masterEdi Feschiyan32-30/+552
 Conflicts:  pyagl/tests/test_audiomixer.py  pyagl/tests/test_bluetooth.py
2020-08-31Adding can-low basic verb tests and cli invocationsEdi Feschiyan12-116/+116
Decorator cleanups
2020-08-29Merge branch 'smurray/fixes' into 'master'Edi Feschiyan32-30/+546
Assorted fixes See merge request konsulko/internal/pyagl!1
2020-08-28Rename AGL_AVAILABLE_TECHSScott Murray2-19/+31
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>
2020-08-28Mark some more tests as hwrequiredScott Murray2-7/+7
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>
2020-08-28Add license file and copyrightsScott Murray31-4/+508
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>
2020-08-19test_signal_composer.py - adding tests forEdi Feschiyan2-3/+51
2020-08-17bluetooth.py and test_bluetooth.py - adding missing avrcp_controls support ↵Edi Feschiyan12-17/+229
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
2020-08-07Changing portfinder method to run locally without sshEdi Feschiyan1-35/+64
2020-08-07Adding changes to setup.py to include ini files from MANIFEST.inEdi Feschiyan2-1/+7
2020-08-07moving conftest to pyagl subdir and creating a manifestEdi Feschiyan2-0/+1
2020-08-07moving conftest conftest under a packageEdi Feschiyan1-0/+0
2020-08-07updating .gitignore for toxEdi Feschiyan1-0/+4
2020-08-07Registering "regular" and "hwrequired" test markers, adding them to testsEdi Feschiyan14-27/+270
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
2020-07-23removing unused pytest-reverseEdi Feschiyan2-2/+1
2020-07-23Fixed catching wrong TimeoutError exception thrown by the task in ↵Edi Feschiyan1-1/+1
test_location_events
2020-07-23changes to README.mdEdi Feschiyan1-1/+12
2020-07-17fix xfail message for bluetooth fixtureEdi Feschiyan4-7/+15
fix test_entry_phonebook to xfail instead fail when no records are returned but query is successful replace 'is not' with !=
2020-07-14When using asyncio.timeout on a response() task it will return NoneEdi Feschiyan1-3/+9
If not caught when that happens, it will raise TypeErrors and random unawaited coros/tasks
2020-07-13converting test_subscribe_location into task and waiting for it more ↵Edi Feschiyan2-4/+8
intelligently
2020-07-13when pytests are run on Python 3.8 the test gathering and execution order is ↵Edi Feschiyan2-1/+2
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
2020-07-13catching immediate emit from geoclue subscription, otherwise breaks ↵Edi Feschiyan2-4/+7
unsubscribe test below commenting out homescreen tap test because the api currently does not respond to it
2020-07-13weather tests adding dependenciesEdi Feschiyan1-1/+2
2020-07-13temporarily removing the raw send arguments with --json --verb --apiEdi Feschiyan7-9/+92
removing unnecesary import in test_weather adding README.md fixing requirements and setup.py to include pytest-dependency instead -depends
2020-07-13replacing 'is' with '==' comparison causing warningsEdi Feschiyan1-1/+1
2020-07-13WIP: Adding taskmanager and homescreen service and testsEdi Feschiyan23-65/+497
PEP8 cleanups, newlines replacing AFBResponse with service.afbresponse() Adding BT-PBAP CLI callables Adding bluetooth subscription tests
2020-06-25Adding network bindings and testsEdi Feschiyan7-3/+220
2020-06-24Adding bluetooth pbap service and testsEdi Feschiyan6-3/+231
2020-06-24Adding bluetooth_mapEdi Feschiyan3-0/+152
2020-06-24adding touches to base class, causes to crash when error response is ↵Edi Feschiyan1-15/+8
received without info
2020-06-24Adding AudioMixer service and testsEdi Feschiyan5-176/+76
2020-06-18Adding empty init filesEdi Feschiyan3-0/+0
2020-06-18Rearranging files for distribution, setup.py modificationsEdi Feschiyan22-66/+298
2020-06-12Adding cookiecutter, preparing for setuptools, new servicesEdi Feschiyan21-56/+145
2020-06-09Adding argparser to bluetoothEdi Feschiyan4-17/+93
2020-06-09Adding nfc.pyEdi Feschiyan2-0/+42
Adding argparser to bluetooth
2020-06-09Completed audiomixer apiEdi Feschiyan5-4/+100
2020-06-09updating gps testsEdi Feschiyan1-10/+32
2020-06-09Working base class, hopefully final reworks for the servicesEdi Feschiyan6-92/+234
2020-06-09changed subscription arguments to lists; adding AFBResponse class for ↵Edi Feschiyan1-5/+40
handling websocket data; added working rng to request function
2020-06-09touching regex matcher for sockets to stop giving warningsEdi Feschiyan1-4/+4
2020-06-09working first test with asyncio for gps and weather.py imports cleanupEdi Feschiyan3-7/+8
2020-06-09turned weather into onelinerEdi Feschiyan2-35/+16
2020-06-09removing waitresponse, will be using *Service.response() to get a packet. ↵Edi Feschiyan6-88/+100
trying to figure out async generator as a service listener. WIP
2020-05-08Adding requirements, work in progress to integrate this thing with pytestEdi Feschiyan5-18/+73
2020-04-28Cleaned up gpsEdi Feschiyan1-20/+22
2020-04-28Cleaned up geoclueEdi Feschiyan1-17/+14
2020-04-28Refactored bluetoothEdi Feschiyan2-80/+75