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

test_create_form()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
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