freeipa/ipatests/test_ipaplatform
Stanislav Levin 1aff24e891 ipatests: Update expectations for test_detect_container
Since a4a9a6f7c6
systemd improves the detection of Docker and Podman containers based
on the presence of files-markers.

```console
[slev@test systemd]$ git describe --contains --tags a4a9a6f7c6e9cd9e219c56d08434a04bc2f395ff
v248-rc1~155^2~1
```

Note: on Azure unit tests are run as non-privileged user in non-systemd
inited container.

This worked on F32 because:
```console
[root@6d2aad38f62c /]# rpm -q systemd
systemd-245.9-1.fc32.x86_64
```
So, actual comparison in test was `assert None == None`.

But F34 has:
```console
[root@1ff1325f5a61 /]# rpm -q systemd
systemd-248-2.fc34.x86_64
```
So, the test's expectations should be updated.
Unfortunately, this is incompatible with older versions of systemd
(< v248).

See https://github.com/systemd/systemd/pull/17902 for details.

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2021-05-25 10:45:49 +03:00
..
data Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
__init__.py Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
test_constants.py Use new classes for run_command and Service 2020-09-22 09:23:18 -04:00
test_importhook.py Refactor os-release and platform information 2018-08-30 11:37:21 +02:00
test_platforms.py Add missing fedora_container platform members 2020-09-29 12:06:24 +02:00
test_tasks.py ipatests: Update expectations for test_detect_container 2021-05-25 10:45:49 +03:00