examples: 5 hand-curated fixtures + parametrized regression suite
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
eb53f6dbb6
commit
9e14909ca6
6 changed files with 157 additions and 0 deletions
21
tests/fixtures/reddit/example_004.json
vendored
Normal file
21
tests/fixtures/reddit/example_004.json
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"post": {
|
||||
"reddit_id": "fx004",
|
||||
"source_sub": "EuropeFIRE",
|
||||
"url": "https://reddit.com/fx004",
|
||||
"title": "FIRE'd at 41 in Lisbon, Portugal",
|
||||
"body": "Portfolio €1.05M, mostly accumulating VWCE. Retired 6 months ago. Wife and two kids — family of 4. Spending €38k/yr in Lisbon (Portugal), including rent. NHR visa locked in.",
|
||||
"created_at": "2026-04-20"
|
||||
},
|
||||
"expected": {
|
||||
"country": "Portugal",
|
||||
"city": "Lisbon",
|
||||
"portfolio_native": 1050000,
|
||||
"annual_exp_native": 38000,
|
||||
"raw_currency": "EUR",
|
||||
"age": 41,
|
||||
"family_size": 4,
|
||||
"fi_status": "FIRE",
|
||||
"is_retired": true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue