Merging upstream version 3.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a868bb3d29
commit
39b7cc8559
50 changed files with 952 additions and 634 deletions
|
@ -1,6 +1,6 @@
|
|||
import os
|
||||
import platform
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -288,7 +288,12 @@ def test_pg_service_file(tmpdir):
|
|||
cli = PGCli(pgclirc_file=str(tmpdir.join("rcfile")))
|
||||
with open(tmpdir.join(".pg_service.conf").strpath, "w") as service_conf:
|
||||
service_conf.write(
|
||||
"""[myservice]
|
||||
"""File begins with a comment
|
||||
that is not a comment
|
||||
# or maybe a comment after all
|
||||
because psql is crazy
|
||||
|
||||
[myservice]
|
||||
host=a_host
|
||||
user=a_user
|
||||
port=5433
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue