def test_with_code(self):
        e = HealthVaultException("Howdy", code=2)
        assert e.code == 2
dataset/ETHPy150Open orcasgit/python-healthvault/tests/test_exc.py/TestException.test_with_code/original