inst_tester: Improve doc string/argument name

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent 32ea0ccb70
commit f86cda97da
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -157,13 +157,13 @@ class InstallabilityTester(object):
"""
return not self._testing.isdisjoint(pkgs)
def is_pkg_in_testing(self, pkg):
def is_pkg_in_testing(self, pkg_id):
"""Test if the package of is in testing
:param pkgs: A package id (as defined in the constructor)
:param pkg_id: A package id (as defined in the constructor)
:return: True if the pkg is currently in testing
"""
return pkg in self._testing
return pkg_id in self._testing
def add_testing_binary(self, pkg_id):
"""Add a binary package to "testing"

Loading…
Cancel
Save