-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(test): add util.chdir, util.copied_fixtures_dir contextmanag…
…ers to clean up tests (#1053) * test: add chdir contextmanager utility * refactor(test): use chdir contextmanager to clean up some tests refactor(test): use chdir contextmanager to clean up some tests refactor(test): use chdir contextmanager to clean up some tests refactor(test): use chdir contextmanager to clean up some tests * fix(test): remove refactored fixture reference * refactor(test): add util.copied_fixtures_dir contextmanager to DRY up tests * docs: add docstrings for the 2 new contextmanagers * chore: fix lint * chore: fix lint Co-authored-by: Benjamin E. Coe <bencoe@google.com>
- Loading branch information
Showing
10 changed files
with
319 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.