9417f4968f697acf6e402ec586ef47fe62446174,unittests/test_populations/test_vertex.py,,test_init_bad,#,108

Before Change



def test_init_bad():
    MockSimulator.setup()
    neuron = MockNeuron(5, FooBar())
    with pytest.raises(KeyError):
        neuron.get_initial_value("badvariable")
    with pytest.raises(KeyError):
        assert 1 == neuron.initialize("anotherbad", "junk")

After Change



def test_init_bad():
    MockSimulator.setup()
    neuron = MockNeuron()
    with pytest.raises(KeyError):
        neuron.get_initial_value("badvariable")
    with pytest.raises(KeyError):
        assert 1 == neuron.initialize("anotherbad", "junk")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 9417f4968f697acf6e402ec586ef47fe62446174
Time: 2018-07-09
Author: Andrew.Rowley@manchester.ac.uk
File Name: unittests/test_populations/test_vertex.py
Class Name:
Method Name: test_init_bad


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 9417f4968f697acf6e402ec586ef47fe62446174
Time: 2018-07-09
Author: Andrew.Rowley@manchester.ac.uk
File Name: unittests/test_populations/test_vertex.py
Class Name:
Method Name: test_init_by_in


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 9417f4968f697acf6e402ec586ef47fe62446174
Time: 2018-07-09
Author: Andrew.Rowley@manchester.ac.uk
File Name: unittests/test_populations/test_vertex.py
Class Name:
Method Name: test_initializable


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 9417f4968f697acf6e402ec586ef47fe62446174
Time: 2018-07-09
Author: Andrew.Rowley@manchester.ac.uk
File Name: unittests/test_populations/test_vertex.py
Class Name:
Method Name: test_initial_values