(self)
| 1592 | }) |
| 1593 | |
| 1594 | def test_connect_pgpass_nonexistent(self): |
| 1595 | # nonexistent passfile is OK |
| 1596 | self.run_testcase({ |
| 1597 | 'host': 'abc', |
| 1598 | 'user': 'user', |
| 1599 | 'database': 'db', |
| 1600 | 'passfile': 'totally nonexistent', |
| 1601 | 'result': ( |
| 1602 | [('abc', 5432)], |
| 1603 | { |
| 1604 | 'user': 'user', |
| 1605 | 'database': 'db', |
| 1606 | 'target_session_attrs': 'any', |
| 1607 | } |
| 1608 | ) |
| 1609 | }) |
| 1610 | |
| 1611 | @unittest.skipIf(_system == 'Windows', 'no mode checking on Windows') |
| 1612 | def test_connect_pgpass_inaccessible_file(self): |
nothing calls this directly
no test coverage detected