Skip to content

Commit

Permalink
test: Fix tests name
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-lymar committed Jun 20, 2024
1 parent 0b932a8 commit 763e7af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makedoc/tests/test_views_makedoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test__data_doc_view__authorized_user_post_data_response_is_correct(authorize


@pytest.mark.django_db
def test__create_docs_view__get_valid_data(authorized_client, test_data):
def test__create_docs_view__authorized_user_get_valid_data(authorized_client, test_data):
url = reverse("file")
cache_key = f"validated_data_{authorized_client.user.id}"
cache.set(cache_key, json.dumps(test_data), timeout=120)
Expand All @@ -42,7 +42,7 @@ def test__create_docs_view__get_valid_data(authorized_client, test_data):


@pytest.mark.django_db
def test__create_docs_view__get_no_data(authorized_client):
def test__create_docs_view__authorized_user_get_no_data(authorized_client):
url = reverse("file")
response = authorized_client.get(url)
assert response.status_code == 400
Expand Down

0 comments on commit 763e7af

Please sign in to comment.