From 8a966976d5cbbe9064dd373aa16f4064aca36858 Mon Sep 17 00:00:00 2001 From: "olivia.hess" Date: Thu, 16 Jan 2025 13:14:29 -0500 Subject: [PATCH] test --- nmdc_notebook_tools/test/test_study.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nmdc_notebook_tools/test/test_study.py b/nmdc_notebook_tools/test/test_study.py index c0c190d..012447c 100644 --- a/nmdc_notebook_tools/test/test_study.py +++ b/nmdc_notebook_tools/test/test_study.py @@ -14,5 +14,10 @@ def test_find_study_by_attribute(): def test_find_study_by_filter(): st = Study() stu = st.study_by_filter( - '{"name":"Deep subsurface shale carbon reservoir microbial communities from Ohio and West Virginia"}' + '{"name":"Lab enrichment of tropical soil microbial communities from Luquillo Experimental Forest, Puerto Rico"}' + ) + assert len(stu) > 0 + assert ( + stu[0]["name"] + == "Lab enrichment of tropical soil microbial communities from Luquillo Experimental Forest, Puerto Rico" )