charm-sudo-pair:fix-unit-tests

Last commit made on 2019-01-08
Get this branch:
git clone -b fix-unit-tests https://git.launchpad.net/charm-sudo-pair
Members of Canonical BootStack Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
fix-unit-tests
Repository:
lp:charm-sudo-pair

Recent commits

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

e67a50d... by Giuseppe Petralia

Remove useless print from unit tests

f1aec5f... by Giuseppe Petralia

- Move tools module to lib package
- Refactor tools module
- Refactor unit tests