From 8d5edfd8dfa3733a64e871549a2422b8d22ad19d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 3 Mar 2021 17:31:31 +0100 Subject: [PATCH] Disable test skipping --- articles/tests/test_admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/articles/tests/test_admin.py b/articles/tests/test_admin.py index 83e48ee..8882cec 100644 --- a/articles/tests/test_admin.py +++ b/articles/tests/test_admin.py @@ -6,9 +6,10 @@ from articles.models import User @pytest.mark.django_db -@pytest.mark.skip("Fails for no apparent reason") +# @pytest.mark.skip("Fails for no apparent reason") @pytest.mark.flaky(reruns=5, reruns_delay=3) def test_can_access_add_article(client: Client, author: User): client.force_login(author) - res = client.get(reverse("admin:articles_article_add")) + url = reverse("admin:articles_article_add") + res = client.get(url) assert res.status_code == 200