Skip to content

Commit a862bea

Browse files
committed
chore: remove pointless size attributes
1 parent 312283f commit a862bea

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/extensions/score_metamodel/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ score_pytest(
7575

7676
score_pytest(
7777
name = "file_based_tests_architecture",
78-
size = "medium",
7978
srcs = ["tests/test_rules_file_based.py"],
8079
data = glob(["tests/rst/architecture/*.rst"]) + ["tests/rst/conf.py"],
8180
pytest_config = "//:pyproject.toml",
@@ -84,7 +83,6 @@ score_pytest(
8483

8584
score_pytest(
8685
name = "file_based_tests_attributes",
87-
size = "medium",
8886
srcs = ["tests/test_rules_file_based.py"],
8987
data = glob(["tests/rst/attributes/*.rst"]) + ["tests/rst/conf.py", "tests/rst/attributes/needs.json"],
9088
pytest_config = "//:pyproject.toml",
@@ -93,7 +91,6 @@ score_pytest(
9391

9492
score_pytest(
9593
name = "file_based_tests_graph",
96-
size = "medium",
9794
srcs = ["tests/test_rules_file_based.py"],
9895
data = glob(["tests/rst/graph/*.rst"]) + ["tests/rst/conf.py"],
9996
pytest_config = "//:pyproject.toml",
@@ -102,7 +99,6 @@ score_pytest(
10299

103100
score_pytest(
104101
name = "file_based_tests_id_contains_feature",
105-
size = "medium",
106102
srcs = ["tests/test_rules_file_based.py"],
107103
data = glob(["tests/rst/id_contains_feature/*.rst"]) + ["tests/rst/conf.py"],
108104
pytest_config = "//:pyproject.toml",
@@ -111,7 +107,6 @@ score_pytest(
111107

112108
score_pytest(
113109
name = "file_based_tests_options",
114-
size = "medium",
115110
srcs = ["tests/test_rules_file_based.py"],
116111
data = glob(["tests/rst/options/*.rst"]) + ["tests/rst/conf.py"],
117112
pytest_config = "//:pyproject.toml",

src/extensions/score_metamodel/tests/test_rules_file_based.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ def test_rst_files(
293293
if local_needs.exists():
294294
shutil.copy(local_needs, app.srcdir)
295295
app.config.needs_external_needs = [
296-
{k: v for k, v in ext.items() if k != "json_url"} | {"json_path": "needs.json"}
296+
{k: v for k, v in ext.items() if k != "json_url"}
297+
| {"json_path": "needs.json"}
297298
if "json_url" in ext
298299
else ext
299300
for ext in (app.config.needs_external_needs or [])

0 commit comments

Comments
 (0)