def test_entity(self):
        """Entity attribute should have a value"""

        e = errors.NotFoundError(element='repository')
        self.assertEqual(e.element, 'repository')
    def test_message(self):
        """Make sure that prints the correct error"""

        e = errors.NotFoundError(element='repository')
        self.assertEqual(str(e), 'repository not found')