Skip to content

Is fs basically like a tempdir scoped to each test function? #815

Answered by mrbean-bremen
jamesbraza asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is exactly what it is. There are module and session-scoped variants (fs_module and fs_session), but the standard fs fixture basically creates a new empty (except for the temp dir) in-memory filesystem at each test start.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jamesbraza
Comment options

Answer selected by jamesbraza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants