| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / /
| | | | |
| | | | |
| | | | | |
We shouldn't rely on testtools.testcase importing it.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Fix imports from testtools.compat
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
python: Mark rawstrings as such
|
| |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Pivot CI to github actions
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
With the tight travis quotas for open source projects now it is not a
viable provider for running CI on this project anymore. While this
project is relatively low activity the quota seems to be preventing
jobs from reliably triggering. This commit switches CI to use github
actions which doesn't have this limitation.
|
| |\ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Resolves the following warnings in Python 3.6+:
DeprecationWarning: invalid escape sequence \!
match = re.match("Bail out\!(?:\s*(.*))?\n", line)
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
| | |\ \ \
| |_|/ / /
|/| | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Revert "Merge pull request #17 from mtreinish/timestamp-output"
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 1dafb884e47f5fc26232672b01c2a9574577e7be, reversing
changes made to 7583ce28db20a0b2ad229a69175949e5a30586fe.
This PR had completely broken tests, while I think the feature works
it's blocking CI and preventing any merges. I'll rework the PR and
resubmit after I get the unittests working.
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
The future release of testtools will drop StringIO and BytesIO.
Try to import them from testtools.compat, or from the io module
if they're not available.
|
|\ \ \
| | | |
| | | | |
Add options to output filter to set timestamps
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This commit adds 2 new options to subunit-output, --start-time and
--stop-time, to specify a timestamp for the start and end of a test
in the output.
|
|\ \ \
| | | |
| | | | |
fix CI
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
we cannot test with in on Travis anymore
|
|\ \ \
| | | |
| | | | |
Remove dependency on unittest2
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is questionable whether it is actually the right way how to do it.
I would need a review from somebody who actually understands API and the
protocol, whether I am not unintentionally changing API.
|
| |/ /
|/| |
| | |
| | | |
Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Python3's RawIOBase guarantees only one syscall per read() requiring
a loop to accumulate the desired number of bytes or actually reach EOF.
TextIOBase.read does issue multiple syscalls (it must to correctly decode
partial unicode characters), but subunit unwraps that to get a binary stream,
and at least some of the time the layering is io.TextIOBase(_io.FileIO), where
_io.FileIO is a RawIOBase subclass rather than BufferedIOBase.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Partial-bug: #1813147
|
| | |
| | |
| | |
| | | |
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Add support for new python versions and update pkg metadata
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This commit updates the supported python versions for subunit to include
support for newer versions of the language 3.7 and 3.8 which have been
released since the last python-subunit release. At the same time it
takes the opportunity to update the package metadata to add more details
including the new python versions.
|
|\ \
| | |
| | |
| | |
| | | |
FedericoRessi/fix-StreamResultToBytes-chunked-writing
Check written bytes are not None before summing them to offset
|
| |\ \
| |/ /
|/| |
| | | |
fix-StreamResultToBytes-chunked-writing
|
|\ \ \
| | | |
| | | | |
Remove broken Python 2.6 travis CI job
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Travis is not able to download a file required to run tests
with Python 2.6
```
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2
0.12s$ curl -sSf -o python-2.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 2.6 archive. The archive may not exist. Please consider a different version.
```
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Because purely written streams could return None instead of written
bytes, we cannot sum them to offset integer. On such case let
assume data has been written all at once.
This fixes LaunchPad [#1845631](https://bugs.launchpad.net/subunit/+bug/1845631)
|
|\ \
| | |
| | | |
Fix file open for python3
|
|/ /
| |
| |
| |
| | |
At python3 there is no "file" the "open" function has to be use to open
a file.
|
|\ \
| | |
| | | |
Migrate Gtk interface to GObject introspection.
|
| |/
| |
| |
| |
| | |
Filters subunit2gtk and subunit-notify now uses GObject introspection
Both are compatible with python2 and python3
|
|\ \
| |/
|/| |
Stop running with Python 3.3 on Travis.
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Improve readability of SubUnit v2 spec
|
| | |
|
|\ \
| | |
| | | |
Add support for passing in a regex to rename test ids.
|
|/ /
| |
| |
| | |
Bug: pad.lv/1758522
|