From 6797bd948c822fd2fd96e2963d3a34a9d77fe2c4 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Wed, 28 Jun 2023 17:26:16 +0200 Subject: [PATCH] Nice to test this behavior somewhere --- readthedocs/projects/tests/test_build_tasks.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readthedocs/projects/tests/test_build_tasks.py b/readthedocs/projects/tests/test_build_tasks.py index 7a085004ff0..4e340a4cfee 100644 --- a/readthedocs/projects/tests/test_build_tasks.py +++ b/readthedocs/projects/tests/test_build_tasks.py @@ -704,6 +704,11 @@ def test_build_commands_executed( self.mocker.mocks["environment.run"].assert_has_calls( [ + mock.call( + "cat", + "readthedocs.yaml", + cwd="/tmp/readthedocs-tests/git-repository", + ), mock.call( "python3.7", "-mvirtualenv",