import2ledger/tests/data/imports.yml

64 lines
1.4 KiB
YAML
Raw Normal View History

- source: PatreonPatronReport_2017-09-01.csv
importer: patreon.IncomeImporter
expect:
- payee: Alex Jones
date: [2017, 9, 1]
amount: "150"
currency: USD
- payee: Dakota Doe
date: [2017, 9, 1]
amount: "12"
currency: USD
- source: PatreonEarnings.csv
importer: patreon.PatreonFeeImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "61.73"
currency: USD
- payee: Patreon
date: [2017, 10, 1]
amount: "117.03"
currency: USD
- source: PatreonEarnings.csv
importer: patreon.CardFeeImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "52.47"
currency: USD
- payee: Patreon
date: [2017, 10, 1]
amount: "99.47"
currency: USD
2017-10-26 16:40:28 +00:00
- source: PatreonVat.csv
importer: patreon.VATImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "2"
currency: USD
country_code: AT
country_name: Austria
- payee: Patreon
date: [2017, 9, 1]
amount: "3.30"
currency: USD
country_code: BE
country_name: Belgium
- payee: Patreon
date: [2017, 10, 1]
amount: "0.40"
currency: USD
country_code: BG
country_name: Bulgaria
- payee: Patreon
date: [2017, 10, 1]
amount: "6.05"
currency: USD
country_code: CZ
country_name: Czech Republic