netpyne.tests.tests

Module for testing code

Classes:

TestTypeObj()

Class for/to <short description of netpyne.tests.tests.TestTypeObj>

TestObj()

Class for/to <short description of netpyne.tests.tests.TestObj>

ErrorMessageObj()

Class for/to <short description of netpyne.tests.tests.ErrorMessageObj>

SimTestObj([verboseFlag])

Class for/to <short description of netpyne.tests.tests.SimTestObj>

class netpyne.tests.tests.TestTypeObj[source]

Bases: object

Class for/to <short description of netpyne.tests.tests.TestTypeObj>

Methods:

testExists(val, params)

testExistsInList(val, params)

testExistsInDict(val, paramDict, dictKey)

testExistsInAllDicts(paramValues, paramKey, ...)

testExistsInPop(val, paramValues, pops)

testIsValidRange(val, params)

testInRange(val, range, params)

testEquals(val, compareVal)

testGt(val, compareVal)

testGte(val, compareVal)

testGteZero(val)

testGtZero(val)

testLt(val, compareVal)

testLte(val, compareVal)

testLteZero(val)

testLtZero(val)

testIsDict(val)

testIsList(val)

testIsBoolean(val)

testIsNumeric(val)

testIsFloat(val)

testIsInt(val)

testIsCharacter(val)

testIsValueList(val, valList)

testIsAllValueList(val, valList)

testDictKeyValidValue(paramDict, valList)

testValidStim(paramValues)

testValidGeometries(paramValues)

testValidTopologies(paramValues)

testValidMechs(paramValues)

testValidPointps(paramValues)

testArrayInRange(val, range, params)

checkSyncMechs(paramValue, values, ...)

checkConnList(paramValue, values, dimValues, ...)

checkValidSyncMechs(synMechs, netParams)

testValidSynMechs(parameterName, ...)

testValidConnList(paramValues, netParams)

testValidSecLists(paramValues)

testTypeHierarchy(paramValues)

testValidConnShape(paramValues)

testValidConnPlasticity(paramValues)

testValidSpikeGenLoc(paramValues)

testValidStimSource(paramValues)

testValidStimTarget(paramValues, netParams)

testValidAnalysis(simConfig)

testExists(val, params)[source]
testExistsInList(val, params)[source]
testExistsInDict(val, paramDict, dictKey)[source]
testExistsInAllDicts(paramValues, paramKey, dictKey)[source]
testExistsInPop(val, paramValues, pops)[source]
testIsValidRange(val, params)[source]
testInRange(val, range, params)[source]
testEquals(val, compareVal)[source]
testGt(val, compareVal)[source]
testGte(val, compareVal)[source]
testGteZero(val)[source]
testGtZero(val)[source]
testLt(val, compareVal)[source]
testLte(val, compareVal)[source]
testLteZero(val)[source]
testLtZero(val)[source]
testIsDict(val)[source]
testIsList(val)[source]
testIsBoolean(val)[source]
testIsNumeric(val)[source]
testIsFloat(val)[source]
testIsInt(val)[source]
testIsCharacter(val)[source]
testIsValueList(val, valList)[source]
testIsAllValueList(val, valList)[source]
testDictKeyValidValue(paramDict, valList)[source]
testValidStim(paramValues)[source]
testValidGeometries(paramValues)[source]
testValidTopologies(paramValues)[source]
testValidMechs(paramValues)[source]
testValidPointps(paramValues)[source]
testArrayInRange(val, range, params)[source]
checkSyncMechs(paramValue, values, dimValues, dimSynMechs, synsPerConn)[source]
checkConnList(paramValue, values, dimValues, dimSynMechs, synsPerConn)[source]
checkValidSyncMechs(synMechs, netParams)[source]
testValidSynMechs(parameterName, paramValues, netParams)[source]
testValidConnList(paramValues, netParams)[source]
testValidSecLists(paramValues)[source]
testTypeHierarchy(paramValues)[source]
testValidConnShape(paramValues)[source]
testValidConnPlasticity(paramValues)[source]
testValidSpikeGenLoc(paramValues)[source]
testValidStimSource(paramValues)[source]
testValidStimTarget(paramValues, netParams)[source]
testValidAnalysis(simConfig)[source]
class netpyne.tests.tests.TestObj[source]

Bases: object

Class for/to <short description of netpyne.tests.tests.TestObj>

class netpyne.tests.tests.ErrorMessageObj[source]

Bases: object

Class for/to <short description of netpyne.tests.tests.ErrorMessageObj>

class netpyne.tests.tests.SimTestObj(verboseFlag=False)[source]

Bases: object

Class for/to <short description of netpyne.tests.tests.SimTestObj>

Methods:

loadTests()

runTests()

loadSimConfigTests()

loadStimSourceTests()

loadStimTargetTests()

loadPopTests()

loadNetTests()

loadCellTests()

loadConnTests()

runPopTests()

runNetTests()

runCellTests()

runConnTests()

runStimSourceTests()

runStimTargetTests()

runSimConfigTests()

execRunTests(testObj, params)

loadTests()[source]
runTests()[source]
loadSimConfigTests()[source]
loadStimSourceTests()[source]
loadStimTargetTests()[source]
loadPopTests()[source]
loadNetTests()[source]
loadCellTests()[source]
loadConnTests()[source]
runPopTests()[source]
runNetTests()[source]
runCellTests()[source]
runConnTests()[source]
runStimSourceTests()[source]
runStimTargetTests()[source]
runSimConfigTests()[source]
execRunTests(testObj, params)[source]