Skip to content

Commit 43b195f

Browse files
authored
Merge pull request #17 from renbytes/dev-testRefactor
Refactor - Tests
2 parents 019f88b + e0e0e40 commit 43b195f

File tree

80 files changed

+816
-1587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+816
-1587
lines changed

agent-core/tests/conftest.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

agent-persist/scripts/concat_files.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

agent-sim/tests/infrastructure/data/test_async_runner.py

Lines changed: 0 additions & 153 deletions
This file was deleted.

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mypy.ini
1+
# arla/mypy.ini
22

33
[mypy]
44
python_version = 3.11

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ignore = [
9090
# This ignores the "variable should be lowercase" error (N806)
9191
# specifically in test files, which is a common and useful exception.
9292
[tool.ruff.lint.per-file-ignores]
93-
"*/tests/*" = ["N806"]
93+
"tests/" = ["N806"]
9494

9595
# `ruff format`
9696
[tool.ruff.format]
@@ -144,11 +144,7 @@ pythonpath = [
144144
"simulations"
145145
]
146146
testpaths = [
147-
"agent-core/tests",
148-
"agent-engine/tests",
149-
"agent-concurrent/tests",
150-
"agent-persist/tests",
151-
"agent-sim/tests",
147+
"tests"
152148
]
153149
asyncio_mode = "auto"
154150
addopts = "--tb=short -v"

scripts/concat_files.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313

1414
# 1. CONFIGURE WHICH PACKAGES TO SEARCH
1515
# The script will look for directories at the root that start with these prefixes.
16-
SEARCH_PREFIXES = [
17-
"agent-core",
18-
]
16+
SEARCH_PREFIXES = ["tests"]
1917

2018
# 2. CONFIGURE WHICH SUB-DIRECTORIES TO INCLUDE
2119
# Within each found package, only these sub-folders will be searched.
22-
INCLUDE_SUBDIRS = ["src", "tests", "soul_sim"]
20+
INCLUDE_SUBDIRS = ["agent-"]
2321

2422
# 3. CONFIGURE WHICH FILE TYPES TO INCLUDE
2523
# e.g., [".py", ".yaml", ".md"]. An empty list includes all file types.

simulations/soul_sim/config/schemas/__init__.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)