Ubuntu update: use pytest-3
- pytest seems to be for Python 2 in Ubuntu 18.04 If we use pytest instead of python3-test, it won't find the falcon module provided by python3-falcon - Please raise your hand if this breaks other distros that wouldn't have the "pytest-3" executable. - Updated documentation Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
This commit is contained in:
parent
8df1fc473e
commit
3d3fa10084
2 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ yum install python36-jinja2 python36-pygments python36-bsddb3 python3-falcon glo
|
|||
> For Debian
|
||||
|
||||
```
|
||||
sudo apt install python3 python3-jinja2 python3-pygments python3-bsddb3 python3-falcon exuberant-ctags perl git apache2 libapache2-mod-wsgi-py3
|
||||
sudo apt install python3 python3-jinja2 python3-pygments python3-bsddb3 python3-falcon python3-pytest exuberant-ctags perl git apache2 libapache2-mod-wsgi-py3
|
||||
```
|
||||
|
||||
To enable the REST api, follow the installation instructions on [`mod_wsgi`](https://github.com/GrahamDumpleton/mod_wsgi)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,6 @@ my $tenv = TestEnvironment->new;
|
|||
$tenv->build_repo(sibling_abs_path('tree'))->build_db->update_env;
|
||||
|
||||
# Test the api using pytest. Prints the test results
|
||||
run_produces_ok('api pytest suite', ["pytest", "-v"], [], MUST_SUCCEED, 1);
|
||||
run_produces_ok('api pytest suite', ["pytest-3", "-v"], [], MUST_SUCCEED, 1);
|
||||
|
||||
done_testing;
|
||||
done_testing;
|
||||
|
|
|
|||
Loading…
Reference in a new issue