Fix tests on master
@@ -255,13 +255,13 @@ class TestCeleryBuilding(RTDTestCase):
@patch('readthedocs.builds.managers.log')
def test_sync_files_logging_when_wrong_version_pk(self, mock_logger):
self.assertFalse(Version.objects.filter(pk=345343).exists())
- tasks.sync_files(project_pk=None, version_pk=345343)
+ tasks.sync_files(project_pk=None, version_pk=345343, doctype='sphinx')
mock_logger.warning.assert_called_with("Version not found for given kwargs. {'pk': 345343}")
@patch('readthedocs.builds.managers.log')
def test_move_files_logging_when_wrong_version_pk(self, mock_logger):
self.assertFalse(Version.objects.filter(pk=345343).exists())
- tasks.move_files(version_pk=345343, hostname=None)
+ tasks.move_files(version_pk=345343, hostname=None, doctype='sphinx')
mock_logger.warning.assert_called_with("Version not found for given kwargs. {'pk': 345343}")
@patch('readthedocs.builds.managers.log')
