def test_optoins_configure():
    # Options have no defaults yet -- configure() was never called.
    with pytest.raises(AttributeError):
        _Options.foo

    configure(foo='bar')

    try:
        assert _Options.foo == 'bar'
    except __HOLE__:
        pytest.fail('Options.foo should\'ve been set.')

    del _Options.foo
dataset/ETHPy150Open slacy/minimongo/minimongo/tests/test_utils.py/test_optoins_configure