Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude tests #119

Merged
merged 2 commits into from
Apr 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions gvm/protocols/gmpv7.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions gvm/protocols/gmpv8.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions gvm/protocols/ospv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks!

"""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)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down