[PATCH] First HTTP functional test of the RPC interface
Lukas Fleischer
lfleischer at archlinux.org
Sat May 23 16:35:46 UTC 2020
On Sun, 12 Apr 2020 at 12:55:46, Frédéric Mangano-Tarumi wrote:
> Though barely useful in its current state, it shows how to integrate
> pytest with SQLAlchemy and Werkzeug, providing a test framework for the
> potential future Flask port, while actually testing the current PHP
> implementation.
> ---
> aurweb/test/__init__.py | 0
> aurweb/test/conftest.py | 51 +++++++++++++++++++++++++++++++++++++++++
> aurweb/test/test_rpc.py | 21 +++++++++++++++++
> aurweb/test/wsgihttp.py | 38 ++++++++++++++++++++++++++++++
> test/README.md | 3 +++
> test/rpc.t | 2 ++
> 6 files changed, 115 insertions(+)
> create mode 100644 aurweb/test/__init__.py
> create mode 100644 aurweb/test/conftest.py
> create mode 100644 aurweb/test/test_rpc.py
> create mode 100644 aurweb/test/wsgihttp.py
> create mode 100755 test/rpc.t
This currently seems to break our tests:
configparser.NoSectionError: No section: 'database'
Did not yet investigate further but that's something that likely needs
to be addressed in some way.
More information about the aur-dev
mailing list