Why have you not used ```self.assertEqual()```? It will give a more informative error message if it fails.