Skip to content

BUG: pytest not working inside the container #9

@aquiles23

Description

@aquiles23

Describe the bug
The environment is not installing it's dependency when making the build, pytest is listed as dependency and it's not running.

To Reproduce
Steps to reproduce the behavior:

  1. run the container with docker-compose up
  2. enter in the container bash with docker-compose exec backend bash
  3. run pytest
  4. it will not run because it's not installed

Expected behavior
pytest is listed in pyproject.toml so it expected to work out of the box when calling it inside the container.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux Mint 20

Additional context
run poetry install inside the container is a workaround to solve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions