-
Notifications
You must be signed in to change notification settings - Fork 14
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
Overhaul snakebids create
#336
Changes from 1 commit
780f9aa
1062113
420624c
70f198c
58cd9bd
d7d9be2
3b6032f
b3f69e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -556,7 +556,7 @@ def get_subset(of: Iterable[T]) -> list[T]: | |
|
||
class TestCustomPaths: | ||
@pytest.fixture() | ||
def temp_dir(self, fakefs_tmpdir: Path): | ||
def temp_dir(self, fakefs_tmpdir: Path, bids_fs: Path): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does the added There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I need to clean this up a bit, basically there's a bunch of real fs paths that need to be added to the fake filesystem, but I have the fakefs setup and path addition split into separate fixtures. The above has been broken for a long time, and the only mystery for me is why the tests ever worked... apparently inter-test environment isolation is not water-tight, because this was revealed I think when I started splitting this tests with |
||
return fakefs_tmpdir | ||
|
||
def generate_test_directory( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicitely > Explicitly