60 lines
1.2 KiB
Python
60 lines
1.2 KiB
Python
|
"""Constants for the Tankerkoenig tests."""
|
||
|
|
||
|
from aiotankerkoenig import PriceInfo, Station, Status
|
||
|
|
||
|
NEARBY_STATIONS = [
|
||
|
Station(
|
||
|
id="3bcd61da-xxxx-xxxx-xxxx-19d5523a7ae8",
|
||
|
brand="BrandA",
|
||
|
place="CityA",
|
||
|
street="Main",
|
||
|
house_number="1",
|
||
|
distance=1,
|
||
|
lat=51.1,
|
||
|
lng=13.1,
|
||
|
name="Station ABC",
|
||
|
post_code=1234,
|
||
|
),
|
||
|
Station(
|
||
|
id="36b4b812-xxxx-xxxx-xxxx-c51735325858",
|
||
|
brand="BrandB",
|
||
|
place="CityB",
|
||
|
street="School",
|
||
|
house_number="2",
|
||
|
distance=2,
|
||
|
lat=51.2,
|
||
|
lng=13.2,
|
||
|
name="Station DEF",
|
||
|
post_code=2345,
|
||
|
),
|
||
|
]
|
||
|
|
||
|
STATION = Station(
|
||
|
id="3bcd61da-xxxx-xxxx-xxxx-19d5523a7ae8",
|
||
|
name="Station ABC",
|
||
|
brand="Station",
|
||
|
street="Somewhere Street",
|
||
|
house_number="1",
|
||
|
post_code=1234,
|
||
|
place="Somewhere",
|
||
|
opening_times=[],
|
||
|
overrides=[],
|
||
|
whole_day=True,
|
||
|
is_open=True,
|
||
|
e5=1.719,
|
||
|
e10=1.659,
|
||
|
diesel=1.659,
|
||
|
lat=51.1,
|
||
|
lng=13.1,
|
||
|
state="xxXX",
|
||
|
)
|
||
|
|
||
|
PRICES = {
|
||
|
"3bcd61da-xxxx-xxxx-xxxx-19d5523a7ae8": PriceInfo(
|
||
|
status=Status.OPEN,
|
||
|
e5=1.719,
|
||
|
e10=1.659,
|
||
|
diesel=1.659,
|
||
|
),
|
||
|
}
|