Rename fr_* to bw_*
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user