Skip to content

Commit

Permalink
update test/test_logging.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lazToum committed Dec 2, 2024
1 parent 1a69130 commit ddffd6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
# SPDX-License-Identifier: MIT
import json
import os
import sqlite3
import uuid
from pathlib import Path
Expand Down Expand Up @@ -276,14 +277,15 @@ def build(self):
bar = Bar()
bar.build()

expected_path = "\\to\\something" if os.name == "nt" else "/to/something"
expected_foo_val_field = [
{
"a": 1.234,
"b": "some string",
"c": {"some_key": [7, 8, 9]},
"d": None,
"test_function": "self.test_function = lambda x, y: x + y",
"path": "/to/something",
"path": expected_path,
}
]

Expand Down

0 comments on commit ddffd6f

Please sign in to comment.