app/ test_some_pytest.py # this have some pytest code./APPRUN pip install pytestdocker-compose.yml如下所示。dockerfile: tests.Dockerfile
当我运行docker-compose up -
我正在尝试使用Pytest-django=3.5.1进行测试。错误:E pytest.PytestDeprecationWarning: The`funcargnames` attribute was an alias for `fixturenames`, since pytest 2.3 - use the newer attributelive_server work,
我对Docker很陌生,我试图将pytest python项目封装到docker映像中,为了运行程序,我使用pytest库编写了python代码。我为docker创建了'requirement.txt‘文件。./
但是当我运行码头时,如下所示:docker run -it <image_id> py.test -s -vplatform lin