Implement story 2.1: aircraft data model and fetcher
Add HttpFetcher and FileFixtureFetcher with shared _parse_aircraft helper, DUMP1090_URL constant, realistic fixture data, and full test coverage for all acceptance criteria (AC1–AC5). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vendored
+39
-1
@@ -1 +1,39 @@
|
||||
{"aircraft": []}
|
||||
{
|
||||
"aircraft": [
|
||||
{
|
||||
"hex": "4ca7f2",
|
||||
"lat": 53.3498,
|
||||
"lon": -6.2603,
|
||||
"flight": "EIN123 ",
|
||||
"altitude": 12000,
|
||||
"category": "A3",
|
||||
"track": 270.0,
|
||||
"mlat": []
|
||||
},
|
||||
{
|
||||
"hex": "4001a1",
|
||||
"lat": 53.42,
|
||||
"lon": -6.11,
|
||||
"altitude": 5000,
|
||||
"category": "A1",
|
||||
"mlat": []
|
||||
},
|
||||
{
|
||||
"hex": "4002b2",
|
||||
"lat": 53.28,
|
||||
"lon": -6.4,
|
||||
"flight": "RYR456 ",
|
||||
"category": "A3",
|
||||
"mlat": []
|
||||
},
|
||||
{
|
||||
"hex": "4003c3",
|
||||
"lat": 53.5,
|
||||
"lon": -5.9,
|
||||
"flight": "MIL001 ",
|
||||
"altitude": 1500,
|
||||
"category": "B1",
|
||||
"mlat": ["lat", "lon"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user