From ed2c8d314a865d7b62d38f2b046c693cfc9825cc Mon Sep 17 00:00:00 2001 From: Edward-Jackson-ONS Date: Tue, 20 Aug 2024 13:31:21 +0100 Subject: [PATCH] refactor: call modules directly --- tests/readers/theyworkforyou/test_debates.py | 2 +- tests/readers/theyworkforyou/test_examples.py | 2 +- tests/readers/theyworkforyou/test_written.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/readers/theyworkforyou/test_debates.py b/tests/readers/theyworkforyou/test_debates.py index 5f9265f..07e1ab9 100644 --- a/tests/readers/theyworkforyou/test_debates.py +++ b/tests/readers/theyworkforyou/test_debates.py @@ -6,7 +6,7 @@ from hypothesis import given, provisional, settings from hypothesis import strategies as st -from parliai_public.readers.theyworkforyou import Debates +from parliai_public import Debates from ...common import ST_DATES from .strategies import ( diff --git a/tests/readers/theyworkforyou/test_examples.py b/tests/readers/theyworkforyou/test_examples.py index 26b75d0..c9ce4de 100644 --- a/tests/readers/theyworkforyou/test_examples.py +++ b/tests/readers/theyworkforyou/test_examples.py @@ -3,7 +3,7 @@ import requests from bs4 import BeautifulSoup -from parliai_public.readers import WrittenAnswers +from parliai_public import WrittenAnswers def test_read_metadata_from_lead_2024_02_29_16305(): diff --git a/tests/readers/theyworkforyou/test_written.py b/tests/readers/theyworkforyou/test_written.py index 0c58039..c8ade03 100644 --- a/tests/readers/theyworkforyou/test_written.py +++ b/tests/readers/theyworkforyou/test_written.py @@ -7,7 +7,7 @@ from hypothesis import given, provisional from hypothesis import strategies as st -from parliai_public.readers.theyworkforyou import WrittenAnswers +from parliai_public import WrittenAnswers from .strategies import ( st_debate_soups,