Skip to content

Commit

Permalink
Fix function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cblakkan committed Mar 20, 2024
1 parent 2339d78 commit 9e04700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yamale/tests/test_command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@contextlib.contextmanager
def scoped_chandge_dir(new_dir):
def scoped_change_dir(new_dir):
cwd = os.getcwd()
os.chdir(new_dir)
try:
Expand Down Expand Up @@ -62,7 +62,7 @@ def test_good_relative_yaml(parser):

@pytest.mark.parametrize("parser", parsers)
def test_good_relative_schema_in_subfolder(parser):
with scoped_chandge_dir("yamale/tests/command_line_fixtures/schema_dir"):
with scoped_change_dir("yamale/tests/command_line_fixtures/schema_dir"):
command_line._router("../yamls/good.yaml", "external.yaml", 1, parser)


Expand Down

0 comments on commit 9e04700

Please sign in to comment.