~aluria/charm-grafana:bug/1822329-tests

Last commit made on 2019-07-03
Get this branch:
git clone -b bug/1822329-tests https://git.launchpad.net/~aluria/charm-grafana
Only Alvaro Uria can upload to this branch. If you are Alvaro Uria please log in for upload directions.

Branch merges

Branch information

Name:
bug/1822329-tests
Repository:
lp:~aluria/charm-grafana

Recent commits

a360580... by Alvaro Uria

Fix wrong install_method output

ea07818... by Nicolas Pochet

Move to new default repository

* According to Grafana's documentation, one needs to use the new
repository.
* This change replaces the old repository and key by the new ones.

Closes-Bug: 1814303

715d850... by Alvaro Uria

Func tests: Render the overlay template

bdc7c06... by Alvaro Uria

Func test to verify if dashboards were imported

7611dba... by Alvaro Uria

Add initial func tests

86ac5e1... by Alvaro Uria

Start adding lib_grafana.db unit tests

1e11f71... by Alvaro Uria

Add more unit tests on the helpers lib

3193cee... by Alvaro Uria

Add extensive unit test coverage

5bd2d0d... by Alvaro Uria

Unit tests: remove unittest.mock usage (only pytest)

bcf4ceb... by Alvaro Uria

LP#1822329: Phase 2 of charm rewrite

 * lib_grafana: code split in diff files and classes
 * Fix pep8, unit and functional tests
 * Unit tests are run from the built charm, since it requires the
 layer-snap to be included
 * Use temp directories (to store downloaded deb pkg or plugins)
 * All imported modules at the top of the helper files
 * trusty support removed (layer-snap blocks the use of trusty because
 containers are not supported)
 * Ignore update-status on reconfig actions