From 1b11e8aac07845d3c7162b5bd6e06d919171a5f5 Mon Sep 17 00:00:00 2001 From: Slater Podgorny Date: Mon, 13 May 2024 08:51:50 -0700 Subject: [PATCH] Add beautifulsoup4 to requirements --- tests/web/test_rhub.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/web/test_rhub.py b/tests/web/test_rhub.py index 54cc2977..c80374c9 100644 --- a/tests/web/test_rhub.py +++ b/tests/web/test_rhub.py @@ -1,11 +1,13 @@ """Test research hub html response""" +import os +from elm import TEST_DATA_DIR from elm.web.rhub import ResearchOutputs import elm.web.rhub -fp = '../data/rhub_html.txt' +FP_TXT = os.path.join(TEST_DATA_DIR, 'rhub_html.txt') -with open(fp, 'r', encoding='utf8') as f: +with open(FP_TXT, 'r', encoding='utf8') as f: TEXT = f.read()