File tree 1 file changed +2
-2
lines changed
readthedocs/rtd_tests/tests
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,13 +255,13 @@ def public_task_exception():
255
255
@patch ('readthedocs.builds.managers.log' )
256
256
def test_sync_files_logging_when_wrong_version_pk (self , mock_logger ):
257
257
self .assertFalse (Version .objects .filter (pk = 345343 ).exists ())
258
- tasks .sync_files (project_pk = None , version_pk = 345343 )
258
+ tasks .sync_files (project_pk = None , version_pk = 345343 , doctype = 'sphinx' )
259
259
mock_logger .warning .assert_called_with ("Version not found for given kwargs. {'pk': 345343}" )
260
260
261
261
@patch ('readthedocs.builds.managers.log' )
262
262
def test_move_files_logging_when_wrong_version_pk (self , mock_logger ):
263
263
self .assertFalse (Version .objects .filter (pk = 345343 ).exists ())
264
- tasks .move_files (version_pk = 345343 , hostname = None )
264
+ tasks .move_files (version_pk = 345343 , hostname = None , doctype = 'sphinx' )
265
265
mock_logger .warning .assert_called_with ("Version not found for given kwargs. {'pk': 345343}" )
266
266
267
267
@patch ('readthedocs.builds.managers.log' )
You can’t perform that action at this time.
0 commit comments