Skip to content

Commit 02b7ce0

Browse files
authored
Test: Verify "cat .readthedocs.yaml" was called (#10495)
Nice to test this behavior somewhere
1 parent 1b32d18 commit 02b7ce0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readthedocs/projects/tests/test_build_tasks.py

+5
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,11 @@ def test_build_commands_executed(
704704

705705
self.mocker.mocks["environment.run"].assert_has_calls(
706706
[
707+
mock.call(
708+
"cat",
709+
"readthedocs.yaml",
710+
cwd="/tmp/readthedocs-tests/git-repository",
711+
),
707712
mock.call(
708713
"python3.7",
709714
"-mvirtualenv",

0 commit comments

Comments
 (0)