(self)
| 352 | |
| 353 | # Override get_dsn method to use the key-value style DSN |
| 354 | def get_dsn(self): |
| 355 | print("hello") |
| 356 | return "postgres://host=127.0.0.1 port={port} user=postgres password=password dbname={dbname}".format( |
| 357 | port=self.port, dbname=self.dbname |
| 358 | ) |
| 359 | |
| 360 | monkeypatch.setattr(PostgresDb, "get_dsn", get_dsn) |
| 361 | l1 = node_factory.get_node() |
nothing calls this directly
no outgoing calls
no test coverage detected