def _options(): return enum( XHR_API_ENABLE=False, XHR_API_ALLOW_HTTP=False, DI_ENABLE=False, DI_SCAN=() )
def test_enum(): e = enum(ONE='one', TWO='two') assert_equal(e.ONE, 'one') assert_equal(e.TWO, 'two')
def _options(): return enum(XHR_API_ENABLE=False, XHR_API_ALLOW_HTTP=False, DI_ENABLE=False, DI_SCAN=())