Skip to content

Commit 1dbdbbe

Browse files
committed
correction on failed test
1 parent 72c3ba6 commit 1dbdbbe

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

readthedocs/projects/tests/test_build_tasks.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ def test_build_updates_documentation_type(self, load_yaml_config):
307307
patch_request = req
308308
break
309309

310-
311-
312310
assert patch_request._request.method == "PATCH"
313311
assert patch_request == "/api/v2/version/1/"
314312
assert patch_request.json() == {
@@ -1996,8 +1994,7 @@ def test_sphinx_fail_on_warning(self, load_yaml_config):
19961994
cwd=mock.ANY,
19971995
bin_path=mock.ANY,
19981996
),
1999-
],
2000-
any_order=True,
1997+
]
20011998
)
20021999

20032000
@mock.patch("readthedocs.doc_builder.director.load_yaml_config")
@@ -2031,7 +2028,8 @@ def test_mkdocs_fail_on_warning(self, load_yaml_config):
20312028
cwd=mock.ANY,
20322029
bin_path=mock.ANY,
20332030
)
2034-
]
2031+
],
2032+
any_order=True,
20352033
)
20362034

20372035
@mock.patch("readthedocs.doc_builder.director.load_yaml_config")

0 commit comments

Comments
 (0)