From: Tom Hromatka Date: Fri, 29 Apr 2022 16:55:43 +0000 (-0600) Subject: ftests: Update test 45 to match the pybindings X-Git-Tag: v3.1.0~308^2~2^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849f272e578511e94707570fc2708d8e2b391521;p=thirdparty%2Flibcgroup.git ftests: Update test 45 to match the pybindings Signed-off-by: Tom Hromatka --- diff --git a/ftests/045-pybindings-list_mount_points.py b/ftests/045-pybindings-list_mount_points.py index 785ef7c2..5e51c562 100755 --- a/ftests/045-pybindings-list_mount_points.py +++ b/ftests/045-pybindings-list_mount_points.py @@ -36,9 +36,8 @@ def test(config): result = consts.TEST_PASSED cause = None - cg1 = Cgroup(CGNAME, Version.CGROUP_V1) - mount_points_v1 = cg1.cgroup_list_mount_points(Version.CGROUP_V1) - mount_points_v2 = cg1.cgroup_list_mount_points(Version.CGROUP_V2) + mount_points_v1 = Cgroup.mount_points(Version.CGROUP_V1) + mount_points_v2 = Cgroup.mount_points(Version.CGROUP_V2) if not mount_points_v1 and not mount_points_v2: result = consts.TEST_FAILED cause = ("No cgroup mount point found")