@test.raises(AssertionError)
    def test_close_with_bad_code(self):
        self.app.setup()
        self.app.run()
        try:
            self.app.close('Not An Int')
        except __HOLE__ as e:
            self.eq(e.args[0], "Invalid exit status code (must be integer)")
            raise
dataset/ETHPy150Open datafolklabs/cement/tests/core/foundation_tests.py/FoundationTestCase.test_close_with_bad_code