<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/paste-git.git/tests, branch 3.0.7</title>
<subtitle>github.com: cdent/paste.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/'/>
<entry>
<title>paste.fixture: fix form offset handling (#12)</title>
<updated>2018-10-31T09:56:48+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-31T09:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=cdac8d221ca509946739aab8acb55422e0e457c4'/>
<id>cdac8d221ca509946739aab8acb55422e0e457c4</id>
<content type='text'>
It would fail if the length of bytes and unicode differs.

It now passes non-bytes to `Form` directly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It would fail if the length of bytes and unicode differs.

It now passes non-bytes to `Form` directly.</pre>
</div>
</content>
</entry>
<entry>
<title>py3 fixes for form handling in paste.fixture (#8)</title>
<updated>2018-10-30T14:18:38+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-30T14:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=c58c1ae23f49c2701ea4ee53d017dd62b1d6f213'/>
<id>c58c1ae23f49c2701ea4ee53d017dd62b1d6f213</id>
<content type='text'>
* py3 fixes for form handling in paste.fixture

It uses "not six.PY2" in contrast to other places in the code to be
forward-compatible.

I've not looked too closely, but it might make sense to decode body/text
in the beginning already, instead of having it as bytes internally?!

Also, like mentioned in [1] already, it should probably use the correct
source encoding?!

1: https://github.com/cdent/paste/blob/36e5b8bd16a6063ec654faf04541f3a20d19f7fe/paste/fixture.py#L820

* Add test, using/fixing SlowConsumer form app
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* py3 fixes for form handling in paste.fixture

It uses "not six.PY2" in contrast to other places in the code to be
forward-compatible.

I've not looked too closely, but it might make sense to decode body/text
in the beginning already, instead of having it as bytes internally?!

Also, like mentioned in [1] already, it should probably use the correct
source encoding?!

1: https://github.com/cdent/paste/blob/36e5b8bd16a6063ec654faf04541f3a20d19f7fe/paste/fixture.py#L820

* Add test, using/fixing SlowConsumer form app
</pre>
</div>
</content>
</entry>
<entry>
<title>Pytest fixes (#9)</title>
<updated>2018-10-30T12:40:53+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>github@thequod.de</email>
</author>
<published>2018-10-30T12:40:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=455203d2b3b0c898df6d3661cb1de577dfeda483'/>
<id>455203d2b3b0c898df6d3661cb1de577dfeda483</id>
<content type='text'>
* pytest: fix collection warnings via __test__=False

Fixes

&gt; "cannot collect test class %r because it has a __init__ constructor

Ref: https://github.com/pytest-dev/pytest/issues/2007

* pytest: configure testpaths

This is faster with test collection.

* pytest: fix warning with doctests

Fixes

&gt; /usr/lib/python3.7/site-packages/_pytest/python.py:764:
&gt; RemovedInPytest4Warning: usage of Generator.Function is deprecated,
&gt; please use pytest.Function instead

* Minor fixes around s/py.test/pytest/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pytest: fix collection warnings via __test__=False

Fixes

&gt; "cannot collect test class %r because it has a __init__ constructor

Ref: https://github.com/pytest-dev/pytest/issues/2007

* pytest: configure testpaths

This is faster with test collection.

* pytest: fix warning with doctests

Fixes

&gt; /usr/lib/python3.7/site-packages/_pytest/python.py:764:
&gt; RemovedInPytest4Warning: usage of Generator.Function is deprecated,
&gt; please use pytest.Function instead

* Minor fixes around s/py.test/pytest/
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up testing after switch to pytest</title>
<updated>2018-10-23T16:01:47+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2018-10-23T16:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=9fcc98bd3e5bde3a26326f3156845093f84b8832'/>
<id>9fcc98bd3e5bde3a26326f3156845093f84b8832</id>
<content type='text'>
pytest exposes many warnings, some but not all of which are cleaned
up here. The main switch is to use html.escape instead of cgi.escape.
This inspired the addition of 'future' to requirements.

The remaining warnings are related to pytest deprecations or over-eager
test discovery.

It is perhaps ironic that the switch to pytest is to avoid nose being
mostly dead, and now we are using features in pytest that pytest wants
to make dead. These are left for later cleanups, which means that
running the tests is noisy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pytest exposes many warnings, some but not all of which are cleaned
up here. The main switch is to use html.escape instead of cgi.escape.
This inspired the addition of 'future' to requirements.

The remaining warnings are related to pytest deprecations or over-eager
test discovery.

It is perhaps ironic that the switch to pytest is to avoid nose being
mostly dead, and now we are using features in pytest that pytest wants
to make dead. These are left for later cleanups, which means that
running the tests is noisy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1 from cdent/pytest</title>
<updated>2018-10-23T15:09:42+00:00</updated>
<author>
<name>Chris Dent</name>
<email>chris.dent@gmail.com</email>
</author>
<published>2018-10-23T15:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=9a873a24759f69d6414042abdfc2fde21f8cca21'/>
<id>9a873a24759f69d6414042abdfc2fde21f8cca21</id>
<content type='text'>
Switch from nose to pytest</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch from nose to pytest</pre>
</div>
</content>
</entry>
<entry>
<title>Fix proxy test</title>
<updated>2018-10-23T14:40:54+00:00</updated>
<author>
<name>Chris Dent</name>
<email>cdent@anticdent.org</email>
</author>
<published>2018-10-23T14:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=5ee64fa8d48d6d853e30f57d80e271184ceee993'/>
<id>5ee64fa8d48d6d853e30f57d80e271184ceee993</id>
<content type='text'>
The proxy test relied on pythonpaste.org being up and existing.
It is neither. So instead we use httpbin.org which is often used
for this kind of thing. Unfortunately httpbin is now a react app
which means a lot of the HTML is generated client-side, which
means we need to choose wisely.

As the original comments indicate, the test is not particularly
robust and remains so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The proxy test relied on pythonpaste.org being up and existing.
It is neither. So instead we use httpbin.org which is often used
for this kind of thing. Unfortunately httpbin is now a react app
which means a lot of the HTML is generated client-side, which
means we need to choose wisely.

As the original comments indicate, the test is not particularly
robust and remains so.
</pre>
</div>
</content>
</entry>
<entry>
<title>make tests pass after 2031</title>
<updated>2018-02-21T09:25:37+00:00</updated>
<author>
<name>Bernhard M. Wiedemann</name>
<email>bernhard+hgcommit@lsmod.de</email>
</author>
<published>2018-02-21T09:25:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=aca5f3fb0fbc754d2dd8e676dc640f1432a164bd'/>
<id>aca5f3fb0fbc754d2dd8e676dc640f1432a164bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from nose to pytest</title>
<updated>2016-03-08T20:13:35+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T20:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=0604a3a5fd1a64098cbdaf44bbb76b805c5233c0'/>
<id>0604a3a5fd1a64098cbdaf44bbb76b805c5233c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check paste.wsgilib.add_close._closed</title>
<updated>2016-03-08T02:47:38+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T02:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=55ecb2d6bd361ec5bae2e883350467b7ac05c304'/>
<id>55ecb2d6bd361ec5bae2e883350467b7ac05c304</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for `add_close` class</title>
<updated>2016-03-08T02:22:25+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2016-03-08T02:22:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/paste-git.git/commit/?id=4028f9fa2ed70ef81c172a07e203706faa6e50a8'/>
<id>4028f9fa2ed70ef81c172a07e203706faa6e50a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
