| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This documents dependencies needed for `testtools.twistedsupport`. At
the moment this is just `Twisted`, but it generally seems a good idea to
put this sort of thing in an official extra rather than having it be
documented ad-hoc.
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
`make html-sphinx` previously warned:
.../doc/index.rst:20: WARNING: toctree contains reference to
nonexisting document 'news'
|
| | |
| |
| |
| | |
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |/ |
|
| |\ |
|
| | |
| |
| |
| | |
that no longer applies with modern versions of Python. Fixes #322
|
| |/
|
|
|
|
|
|
| |
We don't want to remove this immediately, but we should try to do so
sooner rather than later.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #316
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There are few if any people still (knowingly) using the 'extras' lib.
OpenStack users have their own implementation (sigh) in 'oslo.utils' and
everyone else is getting by with try-except statements. Reintroduce this
utility to 'testtools.helpers', allowing us to eventually drop the
dependency on extras. Note however that we can't actually do this yet
since 'fixtures' has an implicit dependency on 'extras' through
'testtools', and we break that by removing it here.
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |
|
|
|
|
|
|
| |
This was being used in places to handle differences between Python 2 and
Python 3. Since we only care about the latter now, the utility can be
removed.
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This was used to workaround some issues with 'hasattr' on Python 2.x
versions, discussed in the source for extras (where this utility was
moved to make it more useful to others) [1] and elsewhere on the
internet [2]. These issues are no longer present on the versions of
Python we now support (Python 3.6+) so this is no longer necessary.
[1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108
[2] https://hynek.me/articles/hasattr/
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |
|
| |
Co-Authored-By: Matthew Treinish <mtreinish@kortar.org>
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
testtools 2.3.0
|
| | | |
|
| | | |
|
| |/
|
|
| |
testtools 2.3.0
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
This fixes #256.
|
| |
|
|
|
| |
The docs said that the skip method didn't emit a warning, but it
does since 9e43c3c.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This provides a way to make it easier to test with
unicode text strings. The value returned will be like
TestCase.getUniqueString but the value is six.text_type
and contains unicode.
Change-Id: I3f144e1294a801b23793f7a2520465e15f3a5222
|
| | |
|
| |
|
|
|
|
|
| |
* Exposes `CaptureTwistedLogs`, a fixture responsible for adding Twisted
logs as a detail
* Adds `suppress_twisted_logging` and `store_twisted_logs` parameters to
`AsynchronousDeferredRunTest`
|
| |
|
|
|
| |
Just the tests and documentation for now. Leaves any code accommodations
in place.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* Move tests to import that module
* Update API docs to refer to that module
* Make sure that new matchers are exported from that module and included
in API reference documentation
* Update NEWS
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
Document checking release milestone before release
Fixes: https://pad.lv/1516087
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
| |
Tweak language to make it clear that we're talking about building
testtools for the purpose of hacking on it, rather than installing it
for production or end use.
Warn against interactions with easy_install.
|
| |\
| |
| | |
Fix the call to the parent setup.
|
| | |
| |
| | |
In the documentation example, the name of the class is wrong in the super call.
|
| |/
|
|
|
|
| |
This can be used e.g. 'pip install -e .[test]'
Change-Id: I51c0411af37ab2c43d068d22f0e3473dd958c7ba
|