Skip to content

Commit

Permalink
refactor: Move Launchpad tests into tests/integration/
Browse files Browse the repository at this point in the history
The Launchpad crash DB tests should not be inside the `apport` module to
avoid installing them on all systems. Therefore move it to the
integration tests.

Previously the Launchpad tests could be run by calling:

```
TEST_LAUNCHPAD=1 python3 apport/crashdb_impl/launchpad.py
```

Now they can be run by calling:

```
TEST_LAUNCHPAD=1 python3 -m unittest tests/integration/test_crashdb_launchpad.py
```

The tests log in to https://qastaging.launchpad.net and the user need to
have bug control permissions on the Ubuntu coreutils package. They need
around seven minutes to execute.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
  • Loading branch information
bdrung authored and schopin-pro committed Oct 26, 2023
1 parent 13b3e19 commit e14c1e6
Show file tree
Hide file tree
Showing 2 changed files with 1,049 additions and 1,057 deletions.

0 comments on commit e14c1e6

Please sign in to comment.