Rename fr_* to bw_*

This commit is contained in:
Joel Bradshaw
2020-11-27 16:12:47 -08:00
parent 3b0b8f16f6
commit 5f2ac6d961
5 changed files with 5 additions and 5 deletions

View File

@ -22,9 +22,9 @@ class BookWyrmConnector(TestCase):
self.connector = Connector('example.com')
work_file = pathlib.Path(__file__).parent.joinpath(
'../data/fr_work.json')
'../data/bw_work.json')
edition_file = pathlib.Path(__file__).parent.joinpath(
'../data/fr_edition.json')
'../data/bw_edition.json')
self.work_data = json.loads(work_file.read_bytes())
self.edition_data = json.loads(edition_file.read_bytes())
@ -35,7 +35,7 @@ class BookWyrmConnector(TestCase):
def test_format_search_result(self):
datafile = pathlib.Path(__file__).parent.joinpath('../data/fr_search.json')
datafile = pathlib.Path(__file__).parent.joinpath('../data/bw_search.json')
search_data = json.loads(datafile.read_bytes())
results = self.connector.parse_search_data(search_data)
self.assertIsInstance(results, list)