Skip to content

Commit

Permalink
Update testing in the python2 scenario
Browse files Browse the repository at this point in the history
Account for Debian Trixie as, just like Debian Bookworm, Python 2 is
not installed.
  • Loading branch information
mcdonnnj committed Mar 28, 2024
1 parent f8fdb90 commit d404171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/python2/tests/test_python2.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_python2_packages(host):
elif host.system_info.codename in ["buster"]:
for p in ["python2", "python-apt", "python2-minimal"]:
assert host.package(p).is_installed
elif host.system_info.codename in ["bookworm"]:
elif host.system_info.codename in ["bookworm", "trixie"]:
# Python 2 is not installed in this case
pass
else:
Expand Down

0 comments on commit d404171

Please sign in to comment.