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

Use temp filesystem for profile test #593

Merged
merged 1 commit into from
Mar 2, 2022
Merged

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Mar 2, 2022

Pull Request doc

Purpose

I wasn't sure how this would work so did some experimenting, made a few tweaks, etc. This makes it so the mocked DataAccess instance (or really, any instance) will use the self.local_fs attribute to get local profiles, instead of having that be hard coded to use LOCAL_DIR. In this case, the local_fs is a TempFS so it's completely isolated from existing files.

What the code is doing

See above

Testing

tox

Time estimate

5-10 min

@jenhagg jenhagg requested a review from lanesmith March 2, 2022 22:14
@jenhagg jenhagg force-pushed the jon/demand_flex branch 2 times, most recently from 5bbed0f to 46beb33 Compare March 2, 2022 22:27
Copy link
Collaborator

@lanesmith lanesmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for doing this!

@jenhagg jenhagg merged commit deb5412 into lane/demand_flex Mar 2, 2022
@jenhagg jenhagg deleted the jon/demand_flex branch March 2, 2022 23:02
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