uilianries: What? migration test error? But my patch is only about an unit test ... Go home Jenkins, you are drunk

https://conan-ci.jfrog.info/blue/organizations/jenkins/ConanTestSuite/detail/PR-5102/1/pipeline#step-131-log-1309
lasote: Merge develop to get rid of that error. 
jgsogo: @uilianries, please merge upstream, it should solve the error in CI. Thanks!
uilianries: @jgsogo done! let's see the result :)
diff --git a/conans/tools.py b/conans/tools.py
index ee26518ea..5647ce862 100644
--- a/conans/tools.py
+++ b/conans/tools.py
@@ -111,6 +111,7 @@ def replace_path_in_file(*args, **kwargs):
 # from conans.client.tools.oss
 args_to_string = tools_oss.args_to_string
 detected_architecture = tools_oss.detected_architecture
+detected_os = tools_oss.detected_os
 OSInfo = tools_oss.OSInfo
 cross_building = tools_oss.cross_building
 get_cross_building_settings = tools_oss.get_cross_building_settings

[BUG] Conan Tools does not export detected_os
To help us debug your issue please explain:

When I was updating cmake_installer, I just found that `detected_os` is not exported by conans.tools

Conan Version 1.15.0

```python
from conans import tools

if __name__ == "__main__":
	tools.detected_os()
```

**ERROR**: 
```
Traceback (most recent call last):
  File "conanfile.py", line 4, in <module>
    tools.detected_os()
AttributeError: module 'conans.tools' has no attribute 'detected_os'
```

- [X] I've read the [CONTRIBUTING guide](https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md).
- [X] I've specified the Conan version, operating system version and any tool that can be relevant.
- [X] I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.


diff --git a/conans/test/unittests/client/conf/detect/detected_os_test.py b/conans/test/unittests/client/conf/detect/detected_os_test.py
index e5a1aac9a..1da5b708a 100644
--- a/conans/test/unittests/client/conf/detect/detected_os_test.py
+++ b/conans/test/unittests/client/conf/detect/detected_os_test.py
@@ -5,6 +5,7 @@
 import unittest
 from mock import mock
 from conans.client.tools.oss import detected_os, OSInfo
+from conans import tools
 
 
 class DetectedOSTest(unittest.TestCase):
@@ -44,3 +45,7 @@ class DetectedOSTest(unittest.TestCase):
     def test_solaris(self):
         with mock.patch("platform.system", mock.MagicMock(return_value='SunOS')):
             self.assertEqual(detected_os(), "SunOS")
+
+    def test_export_tools(self):
+        with mock.patch("platform.system", mock.MagicMock(return_value='FreeBSD')):
+            self.assertEqual(tools.detected_os(), "FreeBSD")

pip install -e .[dev]
parse_log_pytest
requirements.txt
nose pytest
apt-get update apt-get install -y gcc cmake
3.6
conans/requirements.txt conans/requirements_osx.txt conans/requirements_server.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
asn1crypto==1.5.1
astroid==2.11.7
attrs==22.2.0
beautifulsoup4==4.12.3
bottle==0.12.25
certifi==2021.5.30
cffi==1.15.1
charset-normalizer==2.0.12
codecov==2.1.13
colorama==0.4.5
-e git+https://github.com/conan-io/conan.git@5bb2fee4ecd42f771edf88163901c8a3cd6d3b50#egg=conan
coverage==4.2
cryptography==2.3.1
deprecation==2.0.7
dill==0.3.4
distro==1.1.0
fasteners==0.19
future==0.16.0
idna==2.6
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
isort==5.10.1
Jinja2==2.11.3
lazy-object-proxy==1.7.1
MarkupSafe==2.0.1
mccabe==0.7.0
mock==1.3.0
node-semver==0.6.1
nose==1.3.7
packaging==21.3
parameterized==0.8.1
patch==1.16
pbr==6.1.1
platformdirs==2.4.0
pluggy==1.0.0
pluginbase==0.7
py==1.11.0
pycparser==2.21
Pygments==2.14.0
PyJWT==1.7.1
pylint==2.13.9
pyOpenSSL==18.0.0
pyparsing==3.1.4
pytest==7.0.1
PyYAML==5.4.1
requests==2.27.1
six==1.17.0
soupsieve==2.3.2.post1
tomli==1.2.3
tqdm==4.64.1
typed-ast==1.5.5
typing_extensions==4.1.1
urllib3==1.26.20
waitress==2.0.0
WebOb==1.8.9
WebTest==2.0.35
wrapt==1.16.0
zipp==3.6.0

name: conan
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - asn1crypto==1.5.1
      - astroid==2.11.7
      - attrs==22.2.0
      - beautifulsoup4==4.12.3
      - bottle==0.12.25
      - cffi==1.15.1
      - charset-normalizer==2.0.12
      - codecov==2.1.13
      - colorama==0.4.5
      - coverage==4.2
      - cryptography==2.3.1
      - deprecation==2.0.7
      - dill==0.3.4
      - distro==1.1.0
      - fasteners==0.19
      - future==0.16.0
      - idna==2.6
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - isort==5.10.1
      - jinja2==2.11.3
      - lazy-object-proxy==1.7.1
      - markupsafe==2.0.1
      - mccabe==0.7.0
      - mock==1.3.0
      - node-semver==0.6.1
      - nose==1.3.7
      - packaging==21.3
      - parameterized==0.8.1
      - patch==1.16
      - pbr==6.1.1
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - pluginbase==0.7
      - py==1.11.0
      - pycparser==2.21
      - pygments==2.14.0
      - pyjwt==1.7.1
      - pylint==2.13.9
      - pyopenssl==18.0.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pyyaml==5.4.1
      - requests==2.27.1
      - six==1.17.0
      - soupsieve==2.3.2.post1
      - tomli==1.2.3
      - tqdm==4.64.1
      - typed-ast==1.5.5
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - waitress==2.0.0
      - webob==1.8.9
      - webtest==2.0.35
      - wrapt==1.16.0
      - zipp==3.6.0
prefix: /opt/conda/envs/conan

conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_export_tools
conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_cygwin conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_darwin conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_freebsd conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_linux conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_mingw32 conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_mingw64 conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_msys conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_solaris conans/test/unittests/client/conf/detect/detected_os_test.py::DetectedOSTest::test_windows
conans/tools.py
conans/tools.py