Fix test_config.py

This commit is contained in:
grossmj committed 2025-11-17 11:26:06 +10:00
1 parent 4dc321454e
commit 942f021b58
3 files changed
+17 -5

No files matched your search

+4 -4
View File
@@ -53,7 +53,7 @@ def write_config(tmpdir, settings):
return path
async def test_get_section_config(tmpdir):
def test_get_section_config(tmpdir):
config = load_config(tmpdir, {
"Server": {
@@ -63,7 +63,7 @@ async def test_get_section_config(tmpdir):
assert dict(config.get_section_config("Server")) == {"host": "127.0.0.1"}
async def test_set_section_config(tmpdir):
def test_set_section_config(tmpdir):
config = load_config(tmpdir, {
"Server": {
@@ -77,7 +77,7 @@ async def test_set_section_config(tmpdir):
assert dict(config.get_section_config("Server")) == {"host": "192.168.1.1", "local": "true"}
async def test_set(tmpdir):
def test_set(tmpdir):
config = load_config(tmpdir, {
"Server": {
@@ -90,7 +90,7 @@ async def test_set(tmpdir):
assert dict(config.get_section_config("Server")) == {"host": "192.168.1.1"}
async def test_reload(tmpdir):
def test_reload(tmpdir):
config = load_config(tmpdir, {
"Server": {