-
Notifications
You must be signed in to change notification settings - Fork 23
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
2 changed files
with
32 additions
and
1 deletion.
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
26 changes: 26 additions & 0 deletions
26
plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py
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,26 @@ | ||
# | ||
# Copyright © 2013-2024 NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. | ||
# | ||
# This software product is a proprietary product of Nvidia Corporation and its affiliates | ||
# (the "Company") and all right, title, and interest in and to the software | ||
# product, including all associated intellectual property rights, are and | ||
# shall remain exclusively with the Company. | ||
# | ||
# This software product is governed by the End User License Agreement | ||
# provided with the software product. | ||
# | ||
|
||
#import pytest | ||
from plugins.pdr_deterministic_plugin.ufm_sim_web_service.constants import PDRConstants as Constants | ||
from plugins.pdr_deterministic_plugin.ufm_sim_web_service.exclude_list import ExcludeList | ||
from plugins.pdr_deterministic_plugin.ufm_sim_web_service.isolation_algo import create_logger | ||
|
||
def test_get_from_empty_list(): | ||
""" | ||
Create exclude list and ensure its empty via its method | ||
""" | ||
|
||
logger = create_logger(Constants.LOG_FILE) | ||
exclude_list = ExcludeList(logger) | ||
items = exclude_list.items() | ||
assert not items |