[resolved] Python 3 only project and running tests with pytest

python

#1

Hello,

I have a python 3 only project and am running tests with pytest. Recently my tests started to fail with:

export PYTHONPATH="$PWD"
py.test-3 -vv ./tests/
bash: line 2: py.test-3: command not found returned exit code 127

Previously I was running it with py.test-3.4 and it worked fine.

Did anything change?

My circle config:

machine:
  python:
    version: 3.4.3

dependencies:
  pre:
    - "pip3 install -r requirements-test.txt"

test:
  pre:
    - "py.test-3 -vv ./tests/":
       environment:
         PYTHONPATH: $PWD

#2

Okay, got it. Running it with py.test did the trick.


#3