Skip password encryption test if libpq < 10

This commit is contained in:
Daniele Varrazzo 2019-02-16 22:56:44 +01:00
parent 1dd8c7435f
commit 6bbfce7b89

View File

@ -1432,6 +1432,7 @@ class TestEncryptPassword(ConnectingTestCase):
scope=self.conn, algorithm='md5'), scope=self.conn, algorithm='md5'),
'md594839d658c28a357126f105b9cb14cfc') 'md594839d658c28a357126f105b9cb14cfc')
@skip_before_libpq(10)
@skip_before_postgres(10) @skip_before_postgres(10)
def test_encrypt_server(self): def test_encrypt_server(self):
cur = self.conn.cursor() cur = self.conn.cursor()