def close_case(self, case_id):
        return self.create_or_update_case(CaseStructure(case_id=case_id, attrs={'close': True}))[0]
Stops the Server.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/casexml/apps/case/mock.py/CaseFactory.close_case--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/BasicScalingServer.quit