Disable test skipping
This commit is contained in:
parent
26cc694008
commit
8d5edfd8df
1 changed files with 3 additions and 2 deletions
|
@ -6,9 +6,10 @@ from articles.models import User
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@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)
|
@pytest.mark.flaky(reruns=5, reruns_delay=3)
|
||||||
def test_can_access_add_article(client: Client, author: User):
|
def test_can_access_add_article(client: Client, author: User):
|
||||||
client.force_login(author)
|
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
|
assert res.status_code == 200
|
||||||
|
|
Reference in a new issue