

def test_cmdline_defines_without_value_are_true(self):
    config = Configuration('-D foo --define bar -Dbaz')
    eq_('true', config.userdata['foo'])
    eq_('true', config.userdata['bar'])
    eq_('true', config.userdata['baz'])
    eq_(True, config.userdata.getbool('foo'))

dataset/ETHPy150Open behave/behave/test/test_configuration.py TestConfigurationUserData.test_cmdline_defines_without_value_are_true/original