Completed
Push — main ( dc9c2e...80557c )
by Jochen
05:20
created

tests.integration.blueprints.admin.news.test_image_views   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_create_form() 0 4 1
1
"""
2
:Copyright: 2006-2020 Jochen Kupperschmidt
3
:License: Modified BSD, see LICENSE for details.
4
"""
5
6
7
def test_create_form(news_admin_client, item):
8
    url = f'/admin/news/for_item/{item.id}/create'
9
    response = news_admin_client.get(url)
10
    assert response.status_code == 200
11