Skip to content

Commit

Permalink
fixup! fixup! fixup! ingest: initial beangulp Importer compat
Browse files Browse the repository at this point in the history
  • Loading branch information
yagebu committed Dec 15, 2024
1 parent 7718701 commit 862a369
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions tests/test_core_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,26 +194,6 @@ def test_ingest_errors_file_does_not_exist(
assert len(ingest_ledger.errors) > previous_errors


@pytest.mark.skipif(
not BEANCOUNT_V3 or sys.version_info < (3, 12),
reason="seems to error differently on older python",
)
def test_ingest_errors_no_python_file(
get_ledger: GetFavaLedger,
monkeypatch: pytest.MonkeyPatch,
) -> None:
ingest_ledger = get_ledger("import")
ingest_ledger.load_file()
previous_errors = len(ingest_ledger.errors)
monkeypatch.setattr(
ingest_ledger.fava_options,
"import_config",
"example.beancount",
)
ingest_ledger.ingest.load_file()
assert len(ingest_ledger.errors) > previous_errors


def test_filepath_in_primary_imports_folder(
example_ledger: FavaLedger,
monkeypatch: pytest.MonkeyPatch,
Expand Down

0 comments on commit 862a369

Please sign in to comment.