"""Test expression data path""" import pytest from tests.conftest import uploadable_file_object def test_basic_elements_present_in_index_page(client): """ GIVEN: A flask application testing client WHEN: the index page is requested with the "GET" method and no data THEN: verify that the response contains error notifications """ response = client.get("/upload") assert response.status_code == 200 ## form present assert b'
' in response.data ## filetype elements assert b'