=================================== FAILURES ===================================
____________ TestGenerateDockerfile.test_template_missing_returns_1 ____________
tooling/tests/test_docker_generate_dockerfile.py:33: in test_template_missing_returns_1
assert run("x", "y", project_root=tmp_path) == 1
E AssertionError: assert 0 == 1
E + where 0 = <function run at 0x73e096789750>('x', 'y', project_root=PosixPath('/tmp/pytest-of-ptiadmin/pytest-7/test_template_missing_returns_0'))
----------------------------- Captured stdout call -----------------------------
✅ Generated: /tmp/pytest-of-ptiadmin/pytest-7/test_template_missing_returns_0/docker/microservices/Dockerfile.x_y
=========================== short test summary info ============================
FAILED tooling/tests/test_docker_generate_dockerfile.py::TestGenerateDockerfile::test_template_missing_returns_1 - AssertionError: assert 0 == 1
+ where 0 = <function run at 0x73e096789750>('x', 'y', project_root=PosixPath('/tmp/pytest-of-ptiadmin/pytest-7/test_template_missing_returns_0'))
======================== 1 failed, 348 passed in 5.42s =========================
Build Failed: Command "tooling/.venv/bin/pytest tooling/tests -v --tb=short" failed: exit status 1
Hello, I got error in the test-tooling :
Looking at tooling/tests/test_docker_generate_dockerfile.py#L33 the
runmethod return 0 because it generate a proper file. Am I miss understand abouttest_template_missing_returns_1test case?