diff --git a/CHANGELOG.md b/CHANGELOG.md index 844f15968..7d9d28172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Removed the format parameter from `get_credentials` method [PR 85](https://github.com/greenbone/python-gvm/pull/85) * Removed the task_id and nvt_oid parameters from `get_notes` and `get_overrides` methods [PR 85](https://github.com/greenbone/python-gvm/pull/85) +* Excluded tests from installation [PR 119](https://github.com/greenbone/python-gvm/pull/119) ### Fixed * Fixed sending resource id in `modify_tag` [PR 88](https://github.com/greenbone/python-gvm/pull/88) diff --git a/gvm/protocols/gmpv7.py b/gvm/protocols/gmpv7.py index c01249654..4f7077541 100644 --- a/gvm/protocols/gmpv7.py +++ b/gvm/protocols/gmpv7.py @@ -261,10 +261,10 @@ def __init__(self, connection, *, transform=None): @staticmethod def get_protocol_version(): - """Allow to determine the Greenbone Management Protocol version. + """Determine the Greenbone Management Protocol version. - Returns: - str: Implemented version of the Greenbone Management Protocol + Returns: + str: Implemented version of the Greenbone Management Protocol """ return get_version_string(PROTOCOL_VERSION) diff --git a/gvm/protocols/gmpv8.py b/gvm/protocols/gmpv8.py index ce7aa10d8..fea81003a 100644 --- a/gvm/protocols/gmpv8.py +++ b/gvm/protocols/gmpv8.py @@ -41,10 +41,10 @@ class Gmp(Gmpv7): @staticmethod def get_protocol_version(): - """Allow to determine the Greenbone Management Protocol version. + """Determine the Greenbone Management Protocol version. - Returns: - str: Implemented version of the Greenbone Management Protocol + Returns: + str: Implemented version of the Greenbone Management Protocol """ return get_version_string(PROTOCOL_VERSION) diff --git a/gvm/protocols/ospv1.py b/gvm/protocols/ospv1.py index 2e45f6048..42cb95b8a 100644 --- a/gvm/protocols/ospv1.py +++ b/gvm/protocols/ospv1.py @@ -77,10 +77,10 @@ def create_vt_selection_element(_xmlvtselection, vt_selection): class Osp(GvmProtocol): @staticmethod def get_protocol_version(): - """Allow to determine the Open Scanner Protocol version. + """Determine the Open Scanner Protocol version. - Returns: - str: Implemented version of the Open Scanner Protocol + Returns: + str: Implemented version of the Open Scanner Protocol """ return get_version_string(PROTOCOL_VERSION) diff --git a/setup.py b/setup.py index d1a0ea1b3..6f5624079 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/greenbone/python-gvm', - packages=find_packages(), + packages=find_packages(exclude=['tests']), install_requires=['paramiko', 'lxml', 'defusedxml'], python_requires='>=3.5', classifiers=[