Skip to content

Commit

Permalink
test delete file upload in view for job with multiple new inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar257ammar committed Jan 7, 2025
1 parent 85e9c59 commit 5334ed8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/tests/algorithms_tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,10 @@ def test_create_job_with_multiple_new_inputs(
assert job.time_limit == 600
assert job.inputs.count() == 6

assert not UserUpload.objects.filter(
pk=algorithm_with_multiple_inputs.file_upload.pk
).exists()

assert sorted(
[
int.pk
Expand Down

0 comments on commit 5334ed8

Please sign in to comment.