mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
fix(tests): add missing commas in toml file reads in package version tests
- Added trailing commas in the tomllib.loads calls for auto-fin and daily_paper configs - Ensured consistent syntax to prevent potential tuple misinterpretation - Improved readability and correctness of the test setup code
This commit is contained in:
parent
89f35f4b5f
commit
f986f73ffa
1 changed files with 2 additions and 2 deletions
|
|
@ -32,10 +32,10 @@ def test_studio_packages_have_independent_identity() -> None:
|
|||
studio_config = tomllib.loads((REPOSITORY / "reme_studio" / "pyproject.toml").read_text(encoding="utf-8"))
|
||||
npm_config = json.loads((REPOSITORY / "reme_studio" / "package.json").read_text(encoding="utf-8"))
|
||||
auto_fin_config = tomllib.loads(
|
||||
(REPOSITORY / "plugins" / "auto-fin" / "pyproject.toml").read_text(encoding="utf-8")
|
||||
(REPOSITORY / "plugins" / "auto-fin" / "pyproject.toml").read_text(encoding="utf-8"),
|
||||
)
|
||||
daily_paper_config = tomllib.loads(
|
||||
(REPOSITORY / "plugins" / "daily_paper" / "pyproject.toml").read_text(encoding="utf-8")
|
||||
(REPOSITORY / "plugins" / "daily_paper" / "pyproject.toml").read_text(encoding="utf-8"),
|
||||
)
|
||||
|
||||
assert studio_config["project"]["name"] == "reme_studio"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue