diff --git a/tests/data/imports.yml b/tests/data/imports.yml index 49af4d7099575df5e0881237455c8f5c933c8dae..c00c289028d1bea0a2c8d6ddfae65fa86d0207a6 100644 --- a/tests/data/imports.yml +++ b/tests/data/imports.yml @@ -904,3 +904,34 @@ eventbrite_fees: !!python/object/apply:decimal.Decimal ["2.99"] payment_fees: !!python/object/apply:decimal.Decimal ["1"] tax: !!python/object/apply:decimal.Decimal [0] + +- source: GitHubSponsors.csv + importer: github.SponsorsImporter + expect: + - date: !!python/object/apply:datetime.date [2020, 1, 2] + payee: Alex Jones + handle: exampleA + name: Alex Jones + email: ajones@example.com + start_date: !!python/object/apply:datetime.date [2019, 10, 1] + transaction_id: ch_1Gabcdefghijklmnopqrstuv + amount: !!python/object/apply:decimal.Decimal ["1"] + currency: USD + - date: !!python/object/apply:datetime.date [2020, 1, 3] + payee: exampleB + handle: exampleB + name: "" + email: "" + start_date: !!python/object/apply:datetime.date [2019, 11, 1] + transaction_id: 1023ABCD5678EFGHI + amount: !!python/object/apply:decimal.Decimal ["10"] + currency: USD + - date: !!python/object/apply:datetime.date [2020, 1, 4] + payee: Example Co + handle: exampleC + name: Example Co + email: info@example.com + start_date: !!python/object/apply:datetime.date [2019, 12, 1] + transaction_id: ch_1Gabcdefghijklmnopqrstuw + amount: !!python/object/apply:decimal.Decimal ["120"] + currency: USD