osm.etsi.org Git - osm/N2VC.git/atom - test-requirements.txt history osm/N2VC.git Atom feed https://osm.etsi.org/gitweb/?p=osm/N2VC.git root static/git-favicon.png static/git-logo.png 2021-04-06T16:04:03Z gitweb Feature 10296 Pip Standardization 2021-02-12T16:19:13Z David Garcia david.garcia@canonical.com beierlm mark.beierl@canonical.com 2021-02-12T16:19:13Z https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=commitdiff;h=7c6840b23b5d6d8bc14eb7e76d1262c4ccde3097
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>
  • [D] test-requirements.txt
Pin libjuju version to 2.8.2 2020-07-15T14:01:17Z David Garcia david.garcia@canonical.com David Garcia david.garcia@canonical.com 2020-07-15T14:01:17Z https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=commitdiff;h=4d0bef5003a86170683da70259b67a8815a9e865
Pin libjuju version to 2.8.2

This fixes bug 1144

Change-Id: I72580c2a2c4614bad2847b436d376ad9b4636031
Signed-off-by: David Garcia <david.garcia@canonical.com>
  • [D] test-requirements.txt
Initial refactor of N2VC 2020-05-13T10:18:38Z David Garcia david.garcia@canonical.com David Garcia david.garcia@canonical.com 2020-05-13T10:18:38Z https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=commitdiff;h=4fee80e46dff88732b7927e502007203fcd8a15c
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>
  • [D] test-requirements.txt
Change to sane default timeout 2020-05-12T19:26:37Z beierlm mark.beierl@canonical.com beierlm mark.beierl@canonical.com 2020-05-12T19:26:37Z https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=commitdiff;h=0a8c9afacca5010da381e6382b01e31dd4e59d23
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>
  • [D] test-requirements.txt
Enable lint, flake8 and unit tests 2020-04-21T20:36:35Z beierlm mark.beierl@canonical.com beierlm mark.beierl@canonical.com 2020-04-21T20:36:35Z https://osm.etsi.org/gitweb/?p=osm/N2VC.git;a=commitdiff;h=f52cb7cfeb4e24febe7c66af3d5bb275a50d7f99
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>
  • [D] test-requirements.txt