passerelle/functests/planitech
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
..
README create planitech connector (#27653) 2018-11-19 16:28:30 +01:00
conftest.py trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
test_planitech.py trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00

README

Functional tests for the passerelle Planitech connector

Description
===========

This test suite will use the web API of a passerelle Planitech connector
to find an available reservation slot on a random place and perform a reservation. 


Usage
=====

You will need a running passerelle instance, whith a Planitech connector instance configured.
Suppose that the Planitech connector instance is listening here :

    http://127.0.0.1:8000/planitech/planitech

Then you would start the test suite with the following command:

    $ py.test --url=http://127.0.0.1:8000/planitech/planitech test_planitech.py