Skip to content
Snippets Groups Projects
Select Git revision
  • ba1cfada38880ec7ba9ace324c3b93de0265fbc8
  • master default protected
  • aca
  • improve_README
  • v1.2.0
  • v1.1.1 protected
  • v1.1.0 protected
  • v1.0.0 protected
8 results

test_stabilization.py

Blame
  • test_stabilization.py 455 B
    from multiarea_model import MultiAreaModel
    import pytest
    
    
    def test_meanfield():
        """
        Test stabilization procedure. Since this algorithm is not
        implemented yet, we here test if this properly raises a
        NotImplementedError.
        """
    
        network_params = {'connection_params': {'K_stable': True}}
        theory_params = {}
        with pytest.raises(NotImplementedError):
            MultiAreaModel(network_params, theory=True, theory_spec=theory_params)