Skip to content

Commit 0765c2f

Browse files
committed
Fix test
1 parent 50af212 commit 0765c2f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

readthedocs/rtd_tests/tests/projects/test_admin_actions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ def test_project_delete(self, remove_dir):
7171
action_data
7272
)
7373
self.assertFalse(Project.objects.filter(pk=self.project.pk).exists())
74-
remove_dir.apply_async.assert_has_calls([
74+
remove_dir.s.assert_has_calls([
7575
mock.call(
76-
kwargs={},
77-
queue='celery',
78-
args=[self.project.doc_path]
76+
'/Users/eric/projects/readthedocs.org/user_builds/1'
7977
),
8078
])

0 commit comments

Comments
 (0)