diff --git a/tests/test_config.py b/tests/test_config.py index e18a20eabac7071e05794bc68a93a9f704c15b77..cf05f3612b604e99f187631a477265c7b20a590e 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -383,12 +383,11 @@ def test_default_fiscal_year_begin(): assert actual.day == 1 def test_books_loader(): - books_path = testutil.test_path('bookstest') + books_path = testutil.test_path('books') config = config_mod.Config() config.load_string(f'[Beancount]\nbooks dir = {books_path}\n') loader = config.books_loader() - expected = 'include "{}"'.format(books_path / 'books/2020.beancount') - assert loader.fy_range_string(0, 2020, {}) == expected + assert loader.fy_range_string(2020, 2020) def test_books_loader_without_books(): assert config_mod.Config().books_loader() is None