Skip to content

Tests: Permit running tests without xdist#283

Merged
karakanb merged 1 commit into
bruin-data:mainfrom
crate-workbench:tests-no-xdist
Jul 10, 2025
Merged

Tests: Permit running tests without xdist#283
karakanb merged 1 commit into
bruin-data:mainfrom
crate-workbench:tests-no-xdist

Conversation

@amotl
Copy link
Copy Markdown
Contributor

@amotl amotl commented Jul 5, 2025

Hi again,

when invoking the test suite without using xdist, to speed up startup/cycle time a bit while working on individual spots of GH-284, we observed an error.

pytest -k test_create_replace_csv_to_duckdb
AttributeError: 'Config' object has no attribute 'workerinput'

This patch aims to improve the situation by adding a shared_directory wrapping fixture, picked up from a suggestion by @nicoddemus -- thanks!

With kind regards,
Andreas.

@karakanb karakanb merged commit 44b428d into bruin-data:main Jul 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants