Question: need help fixing this code FAILED [100%] tests/test_about_page.py:3 (test_index_route) 404 != 200 Expected :200 Actual :404 client = > def test_index_route(client): response = client.get('/CLIENT') >

need help fixing this code

 need help fixing this code FAILED [100%] tests/test_about_page.py:3 (test_index_route) 404 !=

FAILED [100%] tests/test_about_page.py:3 (test_index_route) 404 != 200

Expected :200 Actual :404

client = >

def test_index_route(client): response = client.get('/CLIENT') > assert response.status_code == 200 E assert 404 == 200 E + where 404 = .status_code

test_about_page.py:6: AssertionError

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!