Skip to content

Commit

Permalink
Merge branch 'main' into feature/generator-pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
nreinicke committed Apr 25, 2023
2 parents a2984f4 + ed1d19c commit 1f7b899
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def test_global_hive_config_search_finds_default(self):
self.assertIsInstance(result, GlobalConfig, "should be a GlobalConfig class instance")

def test_global_hive_config_search_finds_parent(self):
original_dir = os.getcwd()
with tempfile.TemporaryDirectory() as parent:
root_path = Path(parent)
parent_hive_file = root_path.joinpath(".hive.yaml")
Expand All @@ -36,3 +37,4 @@ def test_global_hive_config_search_finds_parent(self):
result.log_run,
"should also contain keys from the default config",
)
os.chdir(original_dir)

0 comments on commit 1f7b899

Please sign in to comment.