Skip to content

Commit

Permalink
Fix 6
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed May 15, 2024
1 parent 3193651 commit e9a4617
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions plugins/pdr_deterministic_plugin/tests/exclude_list_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
# provided with the software product.
#

import os
import tempfile

#import pytest
from constants import PDRConstants as Constants
from exclude_list import ExcludeList
Expand All @@ -19,8 +22,12 @@ def test_get_from_empty_exclude_list():
"""
Create exclude list and ensure its empty via its method
"""
print("Test 3")
logger = create_logger(Constants.LOG_FILE)
print("Test 4")

filename = os.path.basename(Constants.LOG_FILE)
lod_file = os.path.join(tempfile.gettempdir(), filename)

logger = create_logger(lod_file)
exclude_list = ExcludeList(logger)
items = exclude_list.items()
assert not items
Expand Down

0 comments on commit e9a4617

Please sign in to comment.