-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
88 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# (C) Datadog, Inc. 2010-2017 | ||
# All rights reserved | ||
# Licensed under Simplified BSD License (see LICENSE) | ||
CHECK_NAME = 'iis' | ||
MINIMAL_INSTANCE = { | ||
'host': '.', | ||
} | ||
|
||
INSTANCE = { | ||
'host': '.', | ||
'sites': ['Default Web Site', 'Exchange Back End', 'Non Existing Website'], | ||
} | ||
|
||
INVALID_HOST_INSTANCE = { | ||
'host': 'nonexistinghost' | ||
} | ||
|
||
WIN_SERVICES_MINIMAL_CONFIG = { | ||
'host': ".", | ||
'tags': ["mytag1", "mytag2"] | ||
} | ||
|
||
WIN_SERVICES_CONFIG = { | ||
'host': ".", | ||
'tags': ["mytag1", "mytag2"], | ||
'sites': ["Default Web Site", "Exchange Back End", "Failing site"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# (C) Datadog, Inc. 2010-2017 | ||
# All rights reserved | ||
# Licensed under Simplified BSD License (see LICENSE) | ||
import pytest | ||
|
||
from datadog_test_libs.win.pdh_mocks import pdh_mocks_fixture, initialize_pdh_tests # noqa: F401 | ||
|
||
|
||
@pytest.fixture(scope="function", autouse=True) | ||
def setup_check(): | ||
initialize_pdh_tests() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters