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

Tests for network_utils #1201

Merged
merged 11 commits into from Jan 12, 2023
Merged

Tests for network_utils #1201

merged 11 commits into from Jan 12, 2023

Conversation

strickvl
Copy link
Contributor

Added tests for the network_utils code.

Wasn't fully sure of the best way to test this kind of network calls / scans, so happy to rework following any feedback that might come my way.

Pre-requisites

Please ensure you have done the following:

  • I have read the CONTRIBUTING.md document.
  • If my change requires a change to docs, I have updated the documentation accordingly.
  • If I have added an integration, I have updated the integrations table and the corresponding website section.
  • I have added tests to cover my changes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other (add details above)

@strickvl strickvl added internal To filter out internal PRs and issues tests Test suite additions or updates labels Dec 22, 2022
Copy link
Contributor

@fa9r fa9r left a comment

Choose a reason for hiding this comment

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

Just a few minor suggestions, overall LGTM!

tests/unit/utils/test_networking_utils.py Outdated Show resolved Hide resolved
tests/unit/utils/test_networking_utils.py Outdated Show resolved Hide resolved
tests/unit/utils/test_networking_utils.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@stefannica stefannica left a comment

Choose a reason for hiding this comment

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

One suggestion, looks great otherwise

tests/unit/utils/test_networking_utils.py Outdated Show resolved Hide resolved
Co-authored-by: Stefan Nica <stefan@zenml.io>
@strickvl strickvl merged commit 6e922a0 into develop Jan 12, 2023
@strickvl strickvl deleted the test/ENG-1590-networking-utils branch January 12, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal To filter out internal PRs and issues tests Test suite additions or updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants