Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar257ammar committed Jan 24, 2025
1 parent edd2ca1 commit f8ebd50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/tests/algorithms_tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ def test_algorithm_statistics_view(client):
status=Job.SUCCESS,
time_limit=alg.time_limit,
)
canceleld_jobs = AlgorithmJobFactory.create_batch(
canceled_jobs = AlgorithmJobFactory.create_batch(
9,
algorithm_image=ai,
creator=user,
Expand All @@ -2220,7 +2220,7 @@ def test_algorithm_statistics_view(client):
status=Job.FAILURE,
time_limit=alg.time_limit,
)
total_jobs = len(succeeded_jobs) + len(canceleld_jobs) + len(failed_jobs)
total_jobs = len(succeeded_jobs) + len(canceled_jobs) + len(failed_jobs)

top_user_profile = user_profile_link(user)

Expand All @@ -2235,7 +2235,7 @@ def test_algorithm_statistics_view(client):
assert "Succeeded" in response2.rendered_content
assert f"<dd>{len(succeeded_jobs)}</dd>" in response2.rendered_content
assert "Cancelled" in response2.rendered_content
assert f"<dd>{len(canceleld_jobs)}</dd>" in response2.rendered_content
assert f"<dd>{len(canceled_jobs)}</dd>" in response2.rendered_content
assert "Failed" in response2.rendered_content
assert f"<dd>{len(failed_jobs)}</dd>" in response2.rendered_content
assert top_user_profile in response2.rendered_content
Expand Down

0 comments on commit f8ebd50

Please sign in to comment.