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:
parent
f6331aba4f
commit
3580dd2555
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue