

def test_setup_userdata(self):
    config = Configuration('', load_config=False)
    self.userdata = dict(person1='Alice', person2='Bob')
    config.userdata_defines = [('person2', 'Charly')]
    config.setup_userdata()
    expected_data = dict(person1='Alice', person2='Charly')
    eq_(config.userdata, expected_data)

dataset/ETHPy150Open behave/behave/test/test_configuration.py TestConfigurationUserData.test_setup_userdata/VarMisuse@21/25 `config`->`self`