dominikbell / pygyro

Python library for parallel gyro-kinetic simulations
0 stars 0 forks source link

Pytest does not work #7

Open dominikbell opened 2 years ago

dominikbell commented 2 years ago

Pytest raises error no option named 'short'

EmilyBourne commented 2 years ago

This option is configured in this file: https://github.com/pyccel/pygyro/blob/master/pygyro/conftest.py If you run pytest from the pygyro folder it works perfectly. If you move this file to the root then you can run pytest from there

EmilyBourne commented 2 years ago

It also works if you specify the folder rather than trying to test anything in the root directory. Ie: pytest pygyro