Simple powerful no-boilerplate testing with Python.
Using the (partial) polls app from the Django tutorial as an example, I'm trying to get pytest-django to run. Using …
python django pytest pytest-djangoI'm using flask to do register and login: from flask.ext.security.views import register, login class Register(Resource): def …
python pytest flask-loginIn my scenario, I have one test that writes a file, and one (but potentially many more) tests that would …
python pytest xdistI just ran py.test on my code and got the following output: ================== 6 passed, 2 pytest-warnings in 40.79 seconds ======================= However, I cannot …
python django testing pytest pytest-djangoMy problem is the one bellow. If I try to run the test, it says there is no database permission …
python django pytest factory-boy pytest-djangoI am new to django unittest and pytest. However, I started to feel that pytest test case is more compact …
python django pytest django-unittest pytest-djangoFor the following piece of code: @pytest.fixture(scope="module") def dummy_article(request, db): return mixer.blend("core.article", …
python pytest pytest-djangoI have problem when testing my flask app with pytest. App is required basic auth which is parameters of request.…
python-2.7 unit-testing flask pytest werkzeugHow do I force pytest to show the results in color, even when writing to a pipe? There does not …
pytestIs it possible to disable an inspection for the whole file in PyCharm? The reason this is needed is when …
python pycharm pytest