def testGetMustExist(self):
    unknown_key = 'some/unknown/key'
    self.assertRaises(httpclient.HTTPError, self._RunAsync, self.object_store.Get, unknown_key)
    self.assertRaises(httpclient.HTTPError, self._RunAsync, self.object_store.Get, unknown_key, must_exist=True)
    self.assertIsNone(self._RunAsync(self.object_store.Get, unknown_key, must_exist=False))

    self._RunAsync(self.object_store.Put, self.key, 'world')
    self.assertEquals(self._RunAsync(self.object_store.Get, self.key, must_exist=True), 'world')
    self.assertEquals(self._RunAsync(self.object_store.Get, self.key, must_exist=False), 'world')
:param deployment_id: the application id
dataset/ETHPy150Open viewfinderco/viewfinder/backend/storage/test/s3_object_store_test.py/S3ObjectStoreTestCase.testGetMustExist--crossover with--dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py/_deployment_watch