test_config: don't use obsolete kwarg

Use configfile, not config_file.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-06-29 17:33:51 -07:00 committed by Marti Bolivar
parent f6331aba4f
commit 3580dd2555
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ def config_tmpdir(tmpdir):
def cfg(f=ALL, topdir=None):
# Load a fresh configuration object at the given level, and return it.
cp = configparser.ConfigParser(allow_no_value=True)
config.read_config(config_file=f, config=cp, topdir=topdir)
config.read_config(configfile=f, config=cp, topdir=topdir)
return cp
def test_config_global():