diff --git a/conda_forge_webservices/tests/linting/test_compute_lint_message.py b/conda_forge_webservices/tests/linting/test_compute_lint_message.py index 1e3f64376..98fe27182 100644 --- a/conda_forge_webservices/tests/linting/test_compute_lint_message.py +++ b/conda_forge_webservices/tests/linting/test_compute_lint_message.py @@ -30,6 +30,17 @@ def test_good_recipe(self): lint = compute_lint_message('conda-forge', 'conda-forge-webservices', 16) self.assertMultiLineEqual(expected_message, lint['message']) + def test_ok_recipe(self): + expected_message = textwrap.dedent(""" + Hi! This is the friendly automated conda-forge-linting service. + + I just wanted to let you know that I linted all conda-recipes in your PR (```recipes/good_recipe```, ```recipes/ok_recipe```) and found it was in an excellent condition. + + """) + + lint = compute_lint_message('conda-forge', 'conda-forge-webservices', 54) + self.assertMultiLineEqual(expected_message, lint['message']) + def test_conflict_ok_recipe(self): expected_message = textwrap.dedent(""" Hi! This is the friendly automated conda-forge-linting service.