Functional tests for the Toulouse Maelis connector

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

This test suite will use the web API of a passerelle Toulouse Maelis
connector to link a Publik account and check that the connector is
behaving as expected.


Usage
=====

You will need a running passerelle instance, whith the Toulouse Maelis connector instance configured to connect to
a Maelis server.
Suppose that the Toulouse Mealis connector instance is listening here :

    http://127.0.0.1:8000/toulouse-maelis/test

As tests will launch connector cron, you shoud need to enter in the python
virtual environment of your publik devinst :

    $ ~/envs/publik-env-py3/bin/activate
    $ passerelle-manage tenant_command cron -v2 --connector toulouse-maelis daily --connector-slug test --domain 127.0.0.1:8000

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

    $ cd functests/toulouse_maelis
    $ py.test -sx --url=http://127.0.0.1:8000/toulouse-maelis/test

"lastname" parameter may be provide to create or update a test family

    $ py.test -s --url=http://127.0.0.1:8000/toulouse-maelis/test --lastname=foo