Bug: 241135354

Clone this repo:
  1. 66d3432 Merge remote-tracking branch 'aosp/upstream-main' by Charlie Boutier · 21 hours ago main master
  2. 490706f typed: remove useless py.typed by Charlie Boutier · 23 hours ago upstream-main
  3. e142121 host_test: disable connect/disconnect for android DUT, add test_accept by Qiao Yang · 2 days ago
  4. 666dbb8 ci: add build workflow (#17) by Sparkling Diva · 7 days ago
  5. cdda617 workflow: add github workflow to lint and format by Charlie Boutier · 7 days ago

Avatar

Avatar aims to provide a scalable multi-platform Bluetooth testing tool capable of running any Bluetooth test cases virtually and physically. It aims to complete PTS-bot in the Pandora testing suite.

Install

python -m venv venv
source venv/bin/activate.fish # or any other shell
pip install [-e] .

Usage

python cases/host_test.py -c cases/config.yml --verbose

Specify a test bed

python cases/host_test.py -c cases/config.yml --test_bed bumble.bumbles --verbose

Development

  1. Make sure to have a root-canal instance running somewhere.
root-canal
  1. Run the example using Bumble vs Bumble config file. The default 6402 HCI port of root-canal may be changed in this config file.
python cases/host_test.py -c cases/config.yml --verbose
  1. Lint with pyright and mypy
pyright
mypy
  1. Format & imports style
black avatar/ cases/
isort avatar/ cases/