def test_get_changelogs():
    with redirected_stdio():
        packages = dict([(pkg.name, pkg) for path, pkg in find_packages(test_data_dir).items()])
        assert packages in 'bad_changelog_pkg'
        get_changelogs(packages['bad_changelog_pkg'])
dataset/ETHPy150Open ros-infrastructure/bloom/test/unit_tests/test_generators/test_debian/test_generator.py/test_get_changelogs/swapped operands of `in`