Merge remote-tracking branch 'upstream/master' into features

This commit is contained in:
Bruno Oliveira 2017-05-19 18:01:56 -04:00
commit 36cf89a2de
2 changed files with 12 additions and 4 deletions

View File

@ -269,6 +269,7 @@ running from a test you can do something like this:
sys._called_from_test = True
def pytest_unconfigure(config):
import sys
del sys._called_from_test
and then check for the ``sys._called_from_test`` flag:

View File

@ -2,14 +2,21 @@
Talks and Tutorials
==========================
.. sidebar:: Next Open Trainings
..
.. sidebar:: Next Open Trainings
`Professional Testing with Python
<http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_,
26-28 April 2017, Leipzig, Germany.
`Professional Testing with Python
<http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_,
26-28 April 2017, Leipzig, Germany.
.. _`funcargs`: funcargs.html
Books
---------------------------------------------
- `Python Testing with pytest, by Brian Okken (2017)
<https://pragprog.com/book/bopytest/python-testing-with-pytest>`_.
Talks and blog postings
---------------------------------------------