Skip to content

Commit

Permalink
make them docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 6, 2023
1 parent 00b2544 commit 41b2b50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_pypi_installer_metadata(testing_config):


def test_menuinst_validation_ok(testing_config, caplog, tmp_path):
# 1st check - validation passes with recipe as is
"1st check - validation passes with recipe as is"
recipe = Path(metadata_dir, "menu_json_validation")
recipe_tmp = tmp_path / "menu_json_validation"
shutil.copytree(recipe, recipe_tmp)
Expand All @@ -114,7 +114,7 @@ def test_menuinst_validation_ok(testing_config, caplog, tmp_path):


def test_menuinst_validation_fails_bad_schema(testing_config, caplog, tmp_path):
# 1st check - valid JSON but invalid content fails validation
"2nd check - valid JSON but invalid content fails validation"
recipe = Path(metadata_dir, "menu_json_validation")
recipe_tmp = tmp_path / "menu_json_validation"
shutil.copytree(recipe, recipe_tmp)
Expand All @@ -135,7 +135,7 @@ def test_menuinst_validation_fails_bad_schema(testing_config, caplog, tmp_path):


def test_menuinst_validation_fails_bad_json(testing_config, caplog, tmp_path):
# 2nd check - non-parsable JSON fails validation
"3rd check - non-parsable JSON fails validation"
recipe = Path(metadata_dir, "menu_json_validation")
recipe_tmp = tmp_path / "menu_json_validation"
shutil.copytree(recipe, recipe_tmp)
Expand Down

0 comments on commit 41b2b50

Please sign in to comment.