summaryrefslogtreecommitdiffstats
path: root/hacking/tests/gen_distribution_version_testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'hacking/tests/gen_distribution_version_testcase.py')
-rwxr-xr-xhacking/tests/gen_distribution_version_testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/tests/gen_distribution_version_testcase.py b/hacking/tests/gen_distribution_version_testcase.py
index a1c62a33fc..e520d121a4 100755
--- a/hacking/tests/gen_distribution_version_testcase.py
+++ b/hacking/tests/gen_distribution_version_testcase.py
@@ -54,7 +54,7 @@ for f in filelist:
with open(f) as fh:
fcont[f] = fh.read()
-dist = distro.linux_distribution(full_distribution_name=False)
+dist = (distro.id(), distro.version(), distro.codename())
facts = ['distribution', 'distribution_version', 'distribution_release', 'distribution_major_version', 'os_family']