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: Override home directory in root tests #164

Merged
merged 1 commit into from
Nov 22, 2021
Merged

test: Override home directory in root tests #164

merged 1 commit into from
Nov 22, 2021

Conversation

caitlinelfring
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features) see docs/README.md

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix for tests

What is the current behavior? (You can also link to an open issue here)
Fix for failing test when ~/.woke.yaml exists

What is the new behavior (if this is a feature change)?
Override the home directory so initConfig doesn't pick up a config file in the home directory when tests run

Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
No, testing only

Other information:
Fixes #163

@caitlinelfring
Copy link
Member Author

@cognitivegears let me know if this fixes the issue for you

@cognitivegears
Copy link
Contributor

This looks like it fixes it for me, thanks!

@caitlinelfring caitlinelfring merged commit 9db4e4c into main Nov 22, 2021
@caitlinelfring caitlinelfring deleted the fix/163 branch November 22, 2021 17:18
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.

Tests fail with local ~/.woke.yaml file
2 participants