File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 44from django .dispatch import receiver
55
66from pictures import signals , tasks
7+ from tests .test_migrations import skip_dramatiq
78from tests .testapp .models import SimpleModel
89
910
1011@pytest .mark .django_db
12+ @skip_dramatiq
1113def test_process_picture_sends_process_picture_done (image_upload_file ):
1214 obj = SimpleModel .objects .create (picture = image_upload_file )
1315
@@ -31,6 +33,7 @@ def test_process_picture_sends_process_picture_done(image_upload_file):
3133
3234
3335@pytest .mark .django_db
36+ @skip_dramatiq
3437def test_process_picture_sends_process_picture_done_on_create (image_upload_file ):
3538 handler = Mock ()
3639 signals .picture_processed .connect (handler )
@@ -47,6 +50,7 @@ def test_process_picture_sends_process_picture_done_on_create(image_upload_file)
4750
4851
4952@pytest .mark .django_db
53+ @skip_dramatiq
5054def test_processed_object_found (image_upload_file ):
5155 obj = SimpleModel .objects .create ()
5256
You can’t perform that action at this time.
0 commit comments