From f4832e89385524237d587fd69f942cdde8b731ce Mon Sep 17 00:00:00 2001 From: Ammar Ammar <43293485+ammar257ammar@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:36:23 +0000 Subject: [PATCH] revert test check --- app/tests/components_tests/test_tasks.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/tests/components_tests/test_tasks.py b/app/tests/components_tests/test_tasks.py index e368e2964..a202d1de3 100644 --- a/app/tests/components_tests/test_tasks.py +++ b/app/tests/components_tests/test_tasks.py @@ -47,7 +47,6 @@ ComponentInterfaceValueFactory, ) from tests.evaluation_tests.factories import ( - EvaluationFactory, EvaluationGroundTruthFactory, MethodFactory, PhaseFactory, @@ -169,9 +168,6 @@ def test_remove_inactive_container_images(django_capture_on_commit_callbacks): ai1 = AlgorithmImageFactory( is_in_registry=True, is_manifest_valid=True, algorithm=alg ) - ai2 = AlgorithmImageFactory( - is_in_registry=True, is_manifest_valid=True, algorithm=alg - ) AlgorithmImageFactory( is_in_registry=True, is_manifest_valid=True, @@ -179,11 +175,6 @@ def test_remove_inactive_container_images(django_capture_on_commit_callbacks): is_desired_version=True, ) - EvaluationFactory( - submission__algorithm_image=ai2, - time_limit=ai2.algorithm.time_limit, - ) - with django_capture_on_commit_callbacks() as callbacks: remove_inactive_container_images()