Create and activate a virtualenv with the development requirements:
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
TEMPLATE-TODO: One of the most important things a consumer of your charm (or library) needs to know is what set of functionality it provides. Which categories does it fit into? Which events do you listen to? Which libraries do you consume? Which ones do you export and how are they used?
TEMPLATE-TODO: Why were these decisions made? What's the scope of your charm?
If this Charm doesn't fulfill all of the initial functionality you were hoping for or planning on, please add a Roadmap or TODO here
The Python operator framework includes a very nice harness for testing
operator behaviour without full deployment. Just run_tests
:
./run_tests