()
| 53 | } |
| 54 | |
| 55 | func postgresDSN() string { |
| 56 | return fmt.Sprintf("host=localhost user=%s password=%s database=%s sslmode=disable", |
| 57 | *postgresUser, *postgresPass, *postgresDB) |
| 58 | } |
| 59 | |
| 60 | func TestPostgresTCP(t *testing.T) { |
| 61 | if testing.Short() { |
no outgoing calls
no test coverage detected