From fb410fe5ca8ed528a3ce39e513867b080ea093a2 Mon Sep 17 00:00:00 2001 From: Arnav Choudhury Date: Sat, 19 Sep 2020 03:54:36 +0530 Subject: [PATCH] Fixed the black template failing issue. Had to replace single quotes with double quotes --- tests/test_cookiecutter_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py index 0cda5f475..af6e4588b 100755 --- a/tests/test_cookiecutter_generation.py +++ b/tests/test_cookiecutter_generation.py @@ -250,13 +250,13 @@ def test_github_invokes_flake8_and_pytest( github_config = yaml.safe_load(github_yml) flake8_present = False for action_step in github_config["jobs"]["flake8"]["steps"]: - if action_step.get('run') == 'flake8': + if action_step.get("run") == "flake8": flake8_present = True assert flake8_present expected_test_script_present = False for action_step in github_config["jobs"]["pytest"]["steps"]: - if action_step.get('run') == expected_test_script: + if action_step.get("run") == expected_test_script: expected_test_script_present = True assert expected_test_script_present except yaml.YAMLError as e: