Revert "Merge pull request #719 from nabenabe0928/enhance/speedup-get-trials"

This reverts commit cc26f0e72f, reversing
changes made to 83b548f932.
This commit is contained in:
c-bata
2024-02-09 16:27:38 +09:00
parent a146503c27
commit a6cfb00c65
11 changed files with 61 additions and 96 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ def test_get_study_detail_is_preferential() -> None:
study_summary = study_summaries[0]
study_detail = serialize_study_detail(
study_summary, [], study.trials, [], [], [], False, {}, [], False
study_summary, [], study.trials, [], [], [], False, {}, []
)
assert study_detail["is_preferential"]
@@ -78,7 +78,7 @@ def test_get_study_detail_is_not_preferential() -> None:
study_summary = study_summaries[0]
study_detail = serialize_study_detail(
study_summary, [], study.trials, [], [], [], False, {}, [], False
study_summary, [], study.trials, [], [], [], False, {}, []
)
assert not study_detail["is_preferential"]