Skip to content

Commit e9d770c

Browse files
committed
check_config
1 parent fbbb839 commit e9d770c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_caldav.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,27 +448,27 @@ class TestGetDAVClient:
448448

449449
def testTestConfig(self):
450450
with get_davclient(
451-
testconfig=True, environment=False, name=-1, config_file=False
451+
testconfig=True, environment=False, name=-1, check_config_file=False
452452
) as conn:
453453
assert conn.principal()
454454

455455
def testEnvironment(self):
456456
os.environ["PYTHON_CALDAV_USE_TEST_SERVER"] = "1"
457-
with get_davclient(environment=True, config_file=False, name="-1") as conn:
457+
with get_davclient(environment=True, check_config_file=False, name="-1") as conn:
458458
assert conn.principal()
459459
del os.environ["PYTHON_CALDAV_USE_TEST_SERVER"]
460460
for key in ("url", "username", "password", "proxy"):
461461
if key in caldav_servers[-1]:
462462
os.environ[f"CALDAV_{key.upper()}"] = caldav_servers[-1][key]
463463
with get_davclient(
464-
testconfig=False, environment=True, config_file=False
464+
testconfig=False, environment=True, check_config_file=False
465465
) as conn2:
466466
assert conn2.principal()
467467

468468
def testConfigfile(self):
469469
## start up a server
470470
with get_davclient(
471-
testconfig=True, environment=False, name=-1, config_file=False
471+
testconfig=True, environment=False, name=-1, check_config_file=False
472472
) as conn:
473473
config = {}
474474
for key in ("url", "username", "password", "proxy"):

0 commit comments

Comments
 (0)