From f3802a727dada363f9bb280054d4a321888253de Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Mon, 30 Mar 2020 00:13:25 +0200 Subject: [PATCH] Removes silent comparison, closes #449 This is the opposite of #579 If one isn't merged, the other should be. --- tests/test_bake_project.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_bake_project.py b/tests/test_bake_project.py index f50426273..aa5945afc 100644 --- a/tests/test_bake_project.py +++ b/tests/test_bake_project.py @@ -87,7 +87,7 @@ def test_bake_with_defaults(cookies): def test_bake_and_run_tests(cookies): with bake_in_temp_dir(cookies) as result: assert result.project.isdir() - run_inside_dir('python setup.py test', str(result.project)) == 0 + run_inside_dir('python setup.py test', str(result.project)) print("test_bake_and_run_tests path", str(result.project)) @@ -98,7 +98,7 @@ def test_bake_withspecialchars_and_run_tests(cookies): extra_context={'full_name': 'name "quote" name'} ) as result: assert result.project.isdir() - run_inside_dir('python setup.py test', str(result.project)) == 0 + run_inside_dir('python setup.py test', str(result.project)) def test_bake_with_apostrophe_and_run_tests(cookies): @@ -108,7 +108,7 @@ def test_bake_with_apostrophe_and_run_tests(cookies): extra_context={'full_name': "O'connor"} ) as result: assert result.project.isdir() - run_inside_dir('python setup.py test', str(result.project)) == 0 + run_inside_dir('python setup.py test', str(result.project)) # def test_bake_and_run_travis_pypi_setup(cookies): @@ -220,9 +220,9 @@ def test_using_pytest(cookies): lines = test_file_path.readlines() assert "import pytest" in ''.join(lines) # Test the new pytest target - run_inside_dir('python setup.py pytest', str(result.project)) == 0 + run_inside_dir('python setup.py pytest', str(result.project)) # Test the test alias (which invokes pytest) - run_inside_dir('python setup.py test', str(result.project)) == 0 + run_inside_dir('python setup.py test', str(result.project)) def test_not_using_pytest(cookies):