zope.contenttype is a utility module for content-type handling.
This is a plugin which will terminate tests after a certain timeout.
When doing so it will show a stack dump of all threads running at the
time. This is useful when running tests under a continuous integration
server or simply if you don't know why the test suite hangs.
The pytest-xdist plugin extends py.test with some unique test execution modes:
* Test run parallelization: if you have multiple CPUs or hosts you can use
those for a combined test run. This allows to speed up development or to
use special resources of remote machines.
* --boxed: (not available on Windows) run each test in a boxed subprocess
to survive SEGFAULTS or otherwise dying processes
* --looponfail: run your tests repeatedly in a subprocess. After each run
py.test waits until a file in your project changes and then re-runs the
previously failing tests. This is repeated until all tests pass after
which again a full run is performed.
* Multi-Platform coverage: you can specify different Python interpreters
or different platforms and run tests in parallel on all of them.
zope.datetime is a set of commonly used date and time related
utility functions.
The pytest testing tool makes it easy to write small tests, yet scales to
support complex functional testing.
Features:
* Auto-discovery of test modules and functions
* Detailed info on failing assert statements
* Modular fixtures for managing small or parametrized long-lived test
resources
* Multi-paradigm support: you can use pytest to run test suites based on
unittest (or trial), nose
* Single-source compatibility from Python2.6 all the way up to Python3.4,
PyPy-2.3, (jython-2.5 untested)
* Many external plugins
The hardest part of the Python development process was to ensure
backward-compatibility and correctly mark deprecated modules,
classes, functions, methods and properties.
zope.deprecation provides a simple function called
'deprecated(names, reason)' to deprecate the previously mentioned
Python objects.
The zope.dottedname module provides one function, resolve that
resolves strings containing dotted names into the appropriate
python object.
This is a python module that provides a kinda pythonic interface to Bugzilla
over XMLRPC.
It was originally written specifically for Red Hat's Bugzilla instance, but
it is intended to work with any Bugzilla instance. More usage the better, we
would be happy to help get things working with the bugzilla instance you care
about.
It also includes a `bugzilla` command-line client which can be used for quick,
ad-hoc bugzilla jiggery-pokery.
Enables you to easily integrate gettext support, themed icons and scrollkeeper
based documentation into Python's distutils.
Pytools is a big bag of things that are "missing" from the Python standard
library. This is mainly a dependency of my other software packages, and
is probably of little interest to you unless you use those. If you're
curious nonetheless, here's what's on offer:
- A ton of small tool functions such as len_iterable, argmin, tuple
generation, permutation generation, ASCII table pretty printing, GvR's
mokeypatch_xxx() hack, the elusive flatten, and much more.
- Michele Simionato's decorator module.
- A time-series logging module, pytools.log.
- Batch job submission, pytools.batchjob.
- A lexer, pytools.lex.