We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e3dd04 commit 5dfcd37Copy full SHA for 5dfcd37
readthedocs/rtd_tests/tests/test_project.py
@@ -220,7 +220,9 @@ def test_update_stable_version_machine_false(self):
220
)
221
# None, since the stable version is marked as machine=False and Read
222
# the Docs does not have control over it
223
- self.assertEqual(self.pip.update_stable_version(), None)
+ with patch('readthedocs.projects.models.determine_stable_version') as m:
224
+ self.assertEqual(self.pip.update_stable_version(), None)
225
+ m.assert_not_called()
226
227
def test_has_good_build_excludes_external_versions(self):
228
# Delete all versions excluding External Versions.
0 commit comments