OUCH - the unit test usage for assertRaises  is not exactly intuitive.  You have to give the name of the function and all the parameters as parameters