Skip to content

Commit afcb493

Browse files
committed
Fix test
1 parent 99cf935 commit afcb493

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_logging.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ def test_local_logger(fake_plugin_local_log_dir: Path):
6666

6767
logger.info(LOG_STATEMENT)
6868

69+
plugin_component_name = FAKE_PLUGIN_UUID.split(".")[-1]
70+
6971
log_file = (
7072
fake_plugin_local_log_dir
7173
/ "com.elgato.StreamDeck/Plugins"
72-
/ FAKE_PLUGIN_UUID
73-
/ f"logs/{FAKE_LOGGER_NAME}.log"
74+
/ f"{FAKE_PLUGIN_UUID}.sdPlugin"
75+
/ f"logs/{plugin_component_name}.log"
7476
)
7577

7678
assert log_file.exists()

0 commit comments

Comments
 (0)