watsonpy / watson-framework

A Python 3 web app framework.
BSD 3-Clause "New" or "Revised" License
104 stars 12 forks source link

Command runtests doesn't find application/project #9

Closed zgoda closed 10 years ago

zgoda commented 10 years ago
$ python -c "from watson import framework;print(framework.__version__)"
2.2.5
$ python --version
Python 3.4.0

Now command runtests is unable to find application/project:

$ ./console.py runtests
Error: "No watson application can be found, are you sure you're in the correct directory?"

Command rundev runs without problem.

simoncoulton commented 10 years ago

Hey Zgoda, which OS are you on? Currently working on both OSX and Ubuntu here (3.3 & 3.4)

./console.py runtests
================================== test session starts ==================================
platform darwin -- Python 3.4.0 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
zgoda commented 10 years ago

Ubuntu 14.04, defaults.

simoncoulton commented 10 years ago

Have you installed both pytest and pytest-cov pip install pytest pytest-cov or the relevant nose test packages?

EDIT: The error message could be more descriptive in terms of what's happening

zgoda commented 10 years ago

None of the above was specified as "required" in installation section.

simoncoulton commented 10 years ago

Merged your PR, thank you :+1: