def given_a_client(self): self.start_mocking_http() self.expect_call('/streams/my-stream/metadata', httpretty.POST)