Skip to content

Commit

Permalink
Merge pull request #79 from Zburatorul/zbr-003-schwab-sorted
Browse files Browse the repository at this point in the history
Fix local test failure due to glob calls returning list in different order.
  • Loading branch information
jbms authored Dec 18, 2020
2 parents bfb2e9d + c4dd3e4 commit 793a387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beancount_import/source/schwab_csv_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def test_source(name: str):
example_dir=example_dir,
source_spec={
'module': 'beancount_import.source.schwab_csv',
"transaction_csv_filenames": glob.glob(f"{example_dir}/transactions/*.CSV"),
"position_csv_filenames": glob.glob(f"{example_dir}/positions/*.CSV"),
"transaction_csv_filenames": sorted(glob.glob(f"{example_dir}/transactions/*.CSV")),
"position_csv_filenames": sorted(glob.glob(f"{example_dir}/positions/*.CSV")),
},
replacements=[(testdata_dir, '<testdata>')],
)
Expand Down

0 comments on commit 793a387

Please sign in to comment.