mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-16 17:10:32 +03:00
Separate parse_dsn test in a test case of their own
This commit is contained in:
parent
d1af12187c
commit
d3bbd19ccb
|
@ -307,6 +307,8 @@ class ConnectionTests(ConnectingTestCase):
|
|||
self.assert_(c.closed, "connection failed so it must be closed")
|
||||
self.assert_('foobar' not in c.dsn, "password was not obscured")
|
||||
|
||||
|
||||
class ParseDsnTestCase(ConnectingTestCase):
|
||||
def test_parse_dsn(self):
|
||||
from psycopg2 import ProgrammingError
|
||||
from psycopg2.extensions import parse_dsn
|
||||
|
|
Loading…
Reference in New Issue
Block a user