Andrey-Volkovitskiy/python-project-83

View on GitHub

Showing 1 of 1 total issue

Function test_add_to_list has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def test_add_to_list(get_test_db):
    pre_test_time = datetime.utcnow()

    client = app.test_client()
    client.post(POST_URL, data={'url': CORRECT_URL})
Severity: Minor
Found in tests/test_url_list_page.py - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language