This repository contains focused fixtures for testing OpenWISP automation.
The version fixtures represent the two Python version layouts used by OpenWISP packages:
version_fixture_packagedefinesVERSIONat the package root.version_fixture_submodule.versiondefinesVERSIONin a version submodule, whichversion_fixture_submodulere-exports.
Both fixtures expose VERSION and __version__ as version tuples while
remaining free of runtime dependencies.
For local development, install the test dependencies in your Python virtual
environment with python -m pip install -r requirements-test.txt, then run the
review fixtures with ./runtests. To run one fixture, use
./runtests tests/test_example.py.