def test_stackedblocks_with_params():

    aes = [Autoencoder(100, 50, 'tanh', 'tanh'),
           Autoencoder(50, 10, 'tanh', 'tanh')]
    sb = StackedBlocks(aes)
    _params = set([p for l in sb._layers for p in l._params])

    assert sb._params == _params
Test to ensure the default status can be changed on the fly
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/tests/test_blocks.py/test_stackedblocks_with_params--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestHTTPRouter.test_status