def test_logout_view(client): response = new_user()['client'] url = reverse('accounts:logout') response = response.get(url) assert response.status_code == 200
def test_add_new_place_view(client): response = new_user()['client'] url = reverse('trip_places:add-place') response = response.get(url) assert response.status_code == 200
def test_feed_view(client): response = new_user()['client'] url = reverse('accounts:all_users_list') response = response.get(url) assert response.status_code == 200
def test_profile_edit_view(client): response = new_user()['client'] url = reverse('accounts:profile_edit') response = response.get(url) assert response.status_code == 200
def test_messages_page_view(client): response = new_user()['client'] url = reverse('chat:messages-page') response = response.get(url) assert response.status_code == 200
def test_add_new_journey_view(client): response = new_user()['client'] url = reverse('journeys:new-journey') response = response.get(url) assert response.status_code == 200
def test_recommendations_view(client): response = new_user()['client'] url = reverse('recommendations:all-recommendations') response = response.get(url) assert response.status_code == 200