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

Add test to check CfgNotFound exception #469

Merged
merged 3 commits into from
Oct 31, 2019

Conversation

dabcoder
Copy link
Contributor

@dabcoder dabcoder commented Oct 24, 2019

Adds test to ensure the CfgNotFound is not raised when hostname_from_config is set to false (and thus the second warning message is not emitted either).

@dabcoder dabcoder requested a review from a team as a code owner October 24, 2019 13:45
@dabcoder dabcoder changed the title Remove Exception warning if option is set to True too Add test to check CfgNotFound exception Oct 28, 2019
Copy link
Contributor

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

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

LGTM, mind just updating the PR description since this PR has in whats its accomplishing since it was first made?

Other than that, I think this is ready to merge 🚀

@dabcoder
Copy link
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dabcoder dabcoder merged commit 6de7f51 into DataDog:master Oct 31, 2019
@dabcoder dabcoder deleted the davidb/hostname-exception branch October 31, 2019 09:26
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Nov 28, 2019
* Remove Exception warning if option is set to True too

* Assess Exception not raised

* Second warning is covered anyway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants