This is a LTI consumer which can run on your local machine. It can be used to test LTI providers locally by writing testcases. It is based on python3 and Django LTS 3.2. For older Django versions checkout other branches.
Please see requirements.txt
At first download or clone this repository and install the requirements.
pip3 install -r requirements.txt
Now create a database:
python3 manage.py migrate
Finally run the server. It is important to specify a local port by replacing PORT. This port must be different from the port used for the LTI provider you want to test.
python3 manage.py runserver PORT
Open http://127.0.0.1:PORT with your web browser and start by creating a testcase. After that you have to add some launch parameters and finally you can run the testcase.