PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testIncorrectInitialisation(self):
	
		'''Test that initialisation fails if the length of headers is incompatible with number of columns provided'''
		
		try:
			Matrix.Matrix(headers=headers)
			self.fail("No exception raised")
		except IndexError:
			self.assert_(True)
		except:	
			self.fail("Unexpected exception raised")
Test that initialisation fails if the length of headers is incompatible with number of columns provided
Test that initialisation fails if the length of headers is incompatible with number of columns provided
Test that initialisation fails if the length of headers is incompatible with number of columns provided
def testIncorrectInitialisation(self):
		try:
			Matrix.Matrix(headers=headers)
			self.fail("No exception raised")
		except IndexError:
			self.assert_(True)
		except:	
			self.fail("Unexpected exception raised")
def testIncorrectInitialisation ( self ) : try : Matrix . Matrix ( headers = headers ) self . fail ( "No exception raised" ) except IndexError : self . assert_ ( True ) except : self . fail ( "Unexpected exception raised" )
Test that initialisation fails if the length of headers is incompatible with number of columns provided
Test that initialisation fails if the length of headers is incompatible with number of columns provided
'''Test that initialisation fails if the length of headers is incompatible with number of columns provided'''
self