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: support running tests out of tree #1220

Closed
wants to merge 1 commit into from

Conversation

bdrung
Copy link

@bdrung bdrung commented Dec 7, 2023

The test test_check_diff will fail when running the tests out of tree, because pycodestyle will fail to find testing/data/E11.py.

So derive the relative path to the patched file from the test_shell.py location.

The test `test_check_diff` will fail when running the tests out of tree,
because pycodestyle will fail to find `testing/data/E11.py`.

So derive the relative path to the patched file from the `test_shell.py`
location.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
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