def METHOD_NAME(self):
    with mock.patch('os.name', 'nt'):
        with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'x86'}):
            assert get_platform() == 'win32'
        with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'x64'}):
            assert get_platform() == 'win-amd64'
        with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'arm'}):
            assert get_platform() == 'win-arm32'
        with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'arm64'}):
            assert get_platform() == 'win-arm64'