Feature 10296 Pip Standardization Creates standard template for tox.ini Introduces 'safety' for listing upstream CVEs Pins all versions of all upstream modules Removes Makefile step and places all build logic into tox.ini Change-Id: Ic14321bd5bddb322db08ac3e25202cc64cac2dff Signed-off-by: David Garcia <david.garcia@canonical.com>
Pin libjuju version to 2.8.2 This fixes bug 1144 Change-Id: I72580c2a2c4614bad2847b436d376ad9b4636031 Signed-off-by: David Garcia <david.garcia@canonical.com>
Initial refactor of N2VC - Add libjuju.py to encapsulate all code related with the communication using libjuju - Replace juju_observer with juju_watcher - Add utils with some utilities like EntityType, FinalStatus, and JujuStatusToOSM Change-Id: I5d46ad65d6ed37b49bf2504209bfdd46d1b5a7e4 Signed-off-by: David Garcia <david.garcia@canonical.com>
Change to sane default timeout Changes the default timeout from ~28 hours to 1 hour. Fixed syntax errors in two log messages. Adds unit tests for timeouts. Adds nose config to create Junit style output. Fixes bug 1014 Change-Id: I7d1c2d28b397adc3ac638aa2366925dc744eade3 Signed-off-by: beierlm <mark.beierl@canonical.com>
Enable lint, flake8 and unit tests Cleans up non pep compliant code. Adds a simple unit test. Formats according to black. Tox automatically runs lint, flake8 and unit test suite with coverage. To run each individually, execute: tox -e pylint tox -e black tox -e flake8 tox -e cover Note that these are all run for each patch via Jenkins. The full tox suite should be run locally before any commit to ensure it will not fail in Jenkins. Change-Id: I2f87abe3d5086d6d65ac33a27780c498fc7b1cd3 Signed-off-by: beierlm <mark.beierl@canonical.com>