<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/test_green.py, branch identifier-sequence</title>
<subtitle>github.com: psycopg/psycopg2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/'/>
<entry>
<title>Use relative imports throughout tests</title>
<updated>2017-12-10T18:51:07+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-12-04T02:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=1a8e992fcc87b2d15911b60cc9220ec50a70a4ff'/>
<id>1a8e992fcc87b2d15911b60cc9220ec50a70a4ff</id>
<content type='text'>
The tests relied on Python2 relative import semantics. Python3 changed
import semantics to always search sys.path by default. To import using a
relative path it must have a leading dot.

Forward compatible with newer Pythons.

Works towards the goal of moving tests outside of the installed package.

For more information, see PEP-328:

https://www.python.org/dev/peps/pep-0328/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests relied on Python2 relative import semantics. Python3 changed
import semantics to always search sys.path by default. To import using a
relative path it must have a leading dot.

Forward compatible with newer Pythons.

Works towards the goal of moving tests outside of the installed package.

For more information, see PEP-328:

https://www.python.org/dev/peps/pep-0328/
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test to verify callback errors in named cursors</title>
<updated>2017-04-05T13:54:07+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-04-05T13:43:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=cd095ef0ee1dac13adb4d9a24260fe610e7a536f'/>
<id>cd095ef0ee1dac13adb4d9a24260fe610e7a536f</id>
<content type='text'>
They work fine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They work fine.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test to verify #410</title>
<updated>2017-04-05T13:54:07+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-04-05T13:40:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=47f5e97759879543edd8ee8ad9032ef67ec0567a'/>
<id>47f5e97759879543edd8ee8ad9032ef67ec0567a</id>
<content type='text'>
The 'unknown error' happens on query.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'unknown error' happens on query.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow skipping the slow test</title>
<updated>2017-02-02T01:53:50+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2017-02-02T01:53:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=f24de0357ff4472aa8bb283980ea27b3ddd722e4'/>
<id>f24de0357ff4472aa8bb283980ea27b3ddd722e4</id>
<content type='text'>
It's not so much about tests being slow: some just get stuck and timeout
travis.

Skipped all tests taking about more than 0.2s to run on my laptop.
Fast testing takes about 8s instead of 24.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not so much about tests being slow: some just get stuck and timeout
travis.

Skipped all tests taking about more than 0.2s to run on my laptop.
Fast testing takes about 8s instead of 24.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python source cleanup using flake8</title>
<updated>2016-10-10T23:11:55+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-10-10T23:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=91d2158de7954daccb0a22885021c8416d1d5c6c'/>
<id>91d2158de7954daccb0a22885021c8416d1d5c6c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Testing boilerplate unified in a single base class</title>
<updated>2013-04-06T23:23:30+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-04-06T23:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=0e06addc9fa09a40c0406bfae327df6d8dcf7c2e'/>
<id>0e06addc9fa09a40c0406bfae327df6d8dcf7c2e</id>
<content type='text'>
The class makes a connection always available, allows creating
new connection and closes everything on tear down.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The class makes a connection always available, allows creating
new connection and closes everything on tear down.
</pre>
</div>
</content>
</entry>
<entry>
<title>Close the connection on error in callback</title>
<updated>2012-10-06T10:58:52+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-10-06T10:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=b61a2a34c40e9b6e8774178e553a2e81eb889f06'/>
<id>b61a2a34c40e9b6e8774178e553a2e81eb889f06</id>
<content type='text'>
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'python2' into python3</title>
<updated>2011-01-10T00:46:02+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2011-01-10T00:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=79048ff19a2e3d14b8c7fa73f53ea3da9705afdd'/>
<id>79048ff19a2e3d14b8c7fa73f53ea3da9705afdd</id>
<content type='text'>
Conflicts:
	NEWS-2.3
	tests/__init__.py
	tests/test_lobject.py
	tests/test_quote.py
	tests/testutils.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	NEWS-2.3
	tests/__init__.py
	tests/test_lobject.py
	tests/test_quote.py
	tests/testutils.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Added license to unit tests</title>
<updated>2011-01-09T23:44:35+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2011-01-07T01:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=15a09da96d7e622de6b0571fac171fc2253c8a8f'/>
<id>15a09da96d7e622de6b0571fac171fc2253c8a8f</id>
<content type='text'>
As the test suite is now part of the source distribution.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the test suite is now part of the source distribution.
</pre>
</div>
</content>
</entry>
<entry>
<title>All tests made executable.</title>
<updated>2011-01-07T00:58:29+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2011-01-07T00:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=7c1b03bd459b0b3db441bd2984fe3a68e5357efb'/>
<id>7c1b03bd459b0b3db441bd2984fe3a68e5357efb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
