Gab's Notes backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
437 B

import pytest
from django.test import Client
from django.urls import reverse
from articles.models import User
# @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):
url = reverse("admin:articles_article_add")
res = client.get(url)
assert res.status_code == 200