def resize_server(self, server, flavor):
        server = _server.Server.from_id(server)
        server.resize(self.session, flavor)
Test the open and close functionality using a path specification.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/compute/v2/_proxy.py/Proxy.resize_server--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/encrypted_stream_io.py/DES3EncryptedStreamTest.testOpenClosePathSpec