Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"test_file" parameter interpreted as a column and raising a KeyError #8

Open
wanam opened this issue Apr 3, 2019 · 1 comment
Open
Labels
bug Something isn't working

Comments

@wanam
Copy link

wanam commented Apr 3, 2019

If we try the run a pytest with a test file parameter:
pytest test_file:Test01 --csv tests.csv --csv-columns function,status,duration,parameters_as_columns

It gets interpreted as a column in the "config.option".

The current workaround is to put the --csv-columns with it's columns names in the middle of the pytest command, or just adding an other parameter --csv-delimiter ';' at the end of the command.

@nicoulaj nicoulaj added the bug Something isn't working label Apr 3, 2019
nicoulaj added a commit that referenced this issue Apr 22, 2021
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
@nicoulaj
Copy link
Owner

Can you still reproduce this issue ? I added a test in 5f317cc but it seems to work fine.

nicoulaj added a commit that referenced this issue Apr 22, 2021
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants