├── .env ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .test.env ├── README.md ├── alembic.ini ├── pytest.ini ├── requirements.txt ├── slides ├── Зачем писать тесты.pdf ├── Тестирование с pytest.pdf └── Фикстуры.pdf ├── src ├── alembic │ ├── env.py │ ├── script.py.mako │ └── versions │ │ └── 9b6ff45d5de5_initial_revision.py ├── candies │ ├── models.py │ ├── repository.py │ ├── schemas.py │ └── service.py ├── config.py ├── db.py ├── exchange_rates │ └── exchange_rates_handler.py └── main.py └── tests ├── conftest1.py ├── test_count.py ├── test_list.py └── test_list_1.py /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/.env -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/.gitignore -------------------------------------------------------------------------------- /.test.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/.test.env -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/README.md -------------------------------------------------------------------------------- /alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/alembic.ini -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/requirements.txt -------------------------------------------------------------------------------- /slides/Зачем писать тесты.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/slides/Зачем писать тесты.pdf -------------------------------------------------------------------------------- /slides/Тестирование с pytest.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/slides/Тестирование с pytest.pdf -------------------------------------------------------------------------------- /slides/Фикстуры.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/slides/Фикстуры.pdf -------------------------------------------------------------------------------- /src/alembic/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/alembic/env.py -------------------------------------------------------------------------------- /src/alembic/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/alembic/script.py.mako -------------------------------------------------------------------------------- /src/alembic/versions/9b6ff45d5de5_initial_revision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/alembic/versions/9b6ff45d5de5_initial_revision.py -------------------------------------------------------------------------------- /src/candies/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/candies/models.py -------------------------------------------------------------------------------- /src/candies/repository.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/candies/repository.py -------------------------------------------------------------------------------- /src/candies/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/candies/schemas.py -------------------------------------------------------------------------------- /src/candies/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/candies/service.py -------------------------------------------------------------------------------- /src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/config.py -------------------------------------------------------------------------------- /src/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/db.py -------------------------------------------------------------------------------- /src/exchange_rates/exchange_rates_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/exchange_rates/exchange_rates_handler.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/src/main.py -------------------------------------------------------------------------------- /tests/conftest1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/tests/conftest1.py -------------------------------------------------------------------------------- /tests/test_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/tests/test_count.py -------------------------------------------------------------------------------- /tests/test_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/tests/test_list.py -------------------------------------------------------------------------------- /tests/test_list_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/artemonsh/pytest_course/HEAD/tests/test_list_1.py --------------------------------------------------------------------------------