Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@ class TestSet001__Common:
def test_001__withLine(
self,
request: pytest.FixtureRequest,
pg_conf_strategy: PgCfg_Std.Strategy,
):
assert isinstance(request, pytest.FixtureRequest)
assert type(pg_conf_strategy) is PgCfg_Std.Strategy

rootTmpDir = TestServices.GetRootTmpDir()
assert type(rootTmpDir) is str

cfg = PgCfg_Std(rootTmpDir)
cfg = PgCfg_Std(
rootTmpDir,
strategy=pg_conf_strategy,
)

file = cfg.AddTopLevelFile(cfg.C_POSTGRESQL_CONF)

Expand Down Expand Up @@ -84,13 +89,18 @@ def test_001__withLine(
def test_002__withoutLine(
self,
request: pytest.FixtureRequest,
pg_conf_strategy: PgCfg_Std.Strategy,
):
assert isinstance(request, pytest.FixtureRequest)
assert type(pg_conf_strategy) is PgCfg_Std.Strategy

rootTmpDir = TestServices.GetRootTmpDir()
assert type(rootTmpDir) is str

cfg = PgCfg_Std(rootTmpDir)
cfg = PgCfg_Std(
rootTmpDir,
strategy=pg_conf_strategy,
)

file = cfg.AddTopLevelFile(cfg.C_POSTGRESQL_CONF)

Expand Down Expand Up @@ -140,13 +150,18 @@ def test_002__withoutLine(
def test_003__line_with_comment__delete_withLine(
self,
request: pytest.FixtureRequest,
pg_conf_strategy: PgCfg_Std.Strategy,
):
assert isinstance(request, pytest.FixtureRequest)
assert type(pg_conf_strategy) is PgCfg_Std.Strategy

rootTmpDir = TestServices.GetRootTmpDir()
assert type(rootTmpDir) is str

cfg = PgCfg_Std(rootTmpDir)
cfg = PgCfg_Std(
rootTmpDir,
strategy=pg_conf_strategy,
)

file = cfg.AddTopLevelFile(cfg.C_POSTGRESQL_CONF)

Expand Down
Loading