

def test_cmdline_defines_override_configfile(self):
    userdata_init = {
        'foo': 'XXX',
        'bar': 'ZZZ',
        'baz': 42,
    }
    config = Configuration('-D foo=foo_value --define bar=123', load_config=False, userdata=userdata_init)
    eq_('foo_value', config.userdata['foo'])
    eq_('123', self.userdata['bar'])
    eq_(42, config.userdata['baz'])

dataset/ETHPy150Open behave/behave/test/test_configuration.py TestConfigurationUserData.test_cmdline_defines_override_configfile/VarMisuse@62/110 `config`->`self`