v2 tokens (nbt_<key>.<secret>) are sent as Authorization: Bearer, legacy tokens keep the Token scheme; NetBox drops legacy token support in 4.7.
pytest suite with mocked NetBox API responses, plus a makefile driving venv setup, tests, linting and formatting.