diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-01 22:25:15 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-05 09:34:52 +0000 |
| commit | 56ae1fe4bfe5ebda435d43e310dff7b5d2a8730d (patch) | |
| tree | 6e27b4b9f42f29fcaaec8921e839f8c62c3d5177 /tests/test_notify.py | |
| parent | 9c58c01e0fb928b0d46bdf95c87a8235f10000c3 (diff) | |
| download | psycopg2-56ae1fe4bfe5ebda435d43e310dff7b5d2a8730d.tar.gz | |
Payload default is the empty string.
Diffstat (limited to 'tests/test_notify.py')
| -rwxr-xr-x | tests/test_notify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_notify.py b/tests/test_notify.py index 957b371..7dc45d9 100755 --- a/tests/test_notify.py +++ b/tests/test_notify.py @@ -143,7 +143,7 @@ conn.close() n = psycopg2.extensions.Notify(10, 'foo') self.assertEqual(10, n.pid) self.assertEqual('foo', n.channel) - self.assertEqual(None, n.payload) + self.assertEqual('', n.payload) (pid, channel) = n self.assertEqual((pid, channel), (10, 'foo')) |
