mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
77d5356aba
Use the full content of /etc/os-release for the Ubuntu 16.04 (artful) os_grains test case. This reveals a bug that 'oscodename' is not correctly calculated if /etc/os-release provides PRETTY_NAME: FAIL: test_ubuntu_os_grains (tests.unit.grains.test_core.CoreGrainsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/unit/grains/test_core.py", line 439, in test_ubuntu_os_grains self._run_ubuntu_os_grains_tests(_os_release_map) File "tests/unit/grains/test_core.py", line 446, in _run_ubuntu_os_grains_tests self._run_os_grains_tests(os_release_map) File "tests/unit/grains/test_core.py", line 262, in _run_os_grains_tests self.assertEqual(os_grains.get('oscodename'), os_release_map['oscodename']) AssertionError: 'Ubuntu 16.04.3 LTS' != 'xenial' - Ubuntu 16.04.3 LTS + xenial fixes #34423 for Ubuntu Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com> |
||
---|---|---|
.. | ||
integration | ||
perf | ||
pkg/rpm | ||
support | ||
unit | ||
utils | ||
__init__.py | ||
buildpackage.py | ||
committer_parser.py | ||
conftest.py | ||
consist.py | ||
eventlisten.py | ||
eventlisten.sh | ||
jenkins.py | ||
minionswarm.py | ||
modparser.py | ||
packdump.py | ||
runtests.py | ||
salt-tcpdump.py | ||
saltsh.py | ||
wheeltest.py | ||
whitelist.txt | ||
zypp_plugin.py |