~peter-sabaini/charm-sudo-pair:fix-functest

Last commit made on 2019-01-10
Get this branch:
git clone -b fix-functest https://git.launchpad.net/~peter-sabaini/charm-sudo-pair
Only Peter Sabaini can upload to this branch. If you are Peter Sabaini please log in for upload directions.

Branch merges

Branch information

Name:
fix-functest
Repository:
lp:~peter-sabaini/charm-sudo-pair

Recent commits

185b866... by Peter Sabaini

Address comments, also found a typo requirements

9c7efd3... by Peter Sabaini

Fix functional tests

- Build charm before functest, deploy from built charm

- Pin pytest because of https://docs.pytest.org/en/latest/mark.html#marker-revamp-and-iteration

- Add lint target, add Makefile

d133e6b... by Peter Sabaini

Update perms based on sudo_pair docs

As per https://github.com/square/sudo_pair/commit/41e7a291256f819a98f7fb4898bbad0e5589499e#diff-29d8221047461bfe69fc0997c8a9cbe6R66

3eaaff6... by Peter Sabaini

Fix unittests

- Got a perm. denied reading conffile, update in fixture

- Check for extra_packages seems to be a leftover

5fd51e3... by Andrea Ieri

Simplify the file_contents fixture by using cat instead of python

952cfe6... by Andrea Ieri

Rewrite of fixtures and tests:

- override the default event loop so we can use module scoped fixtures
- parametrize tests to check both xenial and bionic
- use a temporary model and tear it down when done
- introduce generic fixtures that can be reused
- add docstrings

1c39b8d... by Andrea Ieri

Move functional test fixtures to their own conftest file

4fa4c2a... by Giuseppe Petralia

Fix wrong usage of groups exempted/enforced vs gids exempted/enforced in readme

b78b946... by Giuseppe Petralia

Remove trusty from available series

6010bf6... by Giuseppe Petralia

Refactor sudo_pair lib and unit tests