Skip to content

mate-academy/py-taxi-service-search-and-tests

Repository files navigation

Taxi service search and tests

In this task, you will implement search feature for your website and write tests for your project.

  1. Implement search feature for all 3 pages with content:
    • drivers - by username
    • cars - by model
    • manufacturers - by name
  2. Write tests for custom and for core project features (no need to test built-in functionality). Use this tutorial as helper. You decide what to test and how to test (train your testing skills here).
  3. Write tests for the searching feature that you have implemented. Make sure yourself, that it works as expected.

NOTE: Attach screenshots of all created pages to pull request. It's important to attach images not links to them.

Note

Follow these steps if you need to use crispy_forms v2.0 with Python 3.11:

  1. Add CRISPY_TEMPLATE_PACK to settings.py.
CRISPY_TEMPLATE_PACK="bootstrap4"
  1. Add these apps to INSTALLED_APPS and install them corresponding to the CRISPY_TEMPLATE_PACK bootstrap version.
INSTALLED APPS = [
   ...,
   "crispy_bootstrap4",
   "crispy_forms",
]