generated from daniil-berg/boilerplate-py
Add fixtures; minor changes
This commit is contained in:
8
tests/fixtures/geography/address.json
vendored
Normal file
8
tests/fixtures/geography/address.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"id": 9999999,
|
||||
"house_number": "123AB",
|
||||
"supplement": "whatever",
|
||||
"street_id": 1
|
||||
}
|
||||
]
|
23
tests/fixtures/geography/city.json
vendored
Normal file
23
tests/fixtures/geography/city.json
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"id": 1122,
|
||||
"zip_code": "10405",
|
||||
"name": "Berlin",
|
||||
"state_province_id": 100
|
||||
}, {
|
||||
"id": 9,
|
||||
"zip_code": "33299",
|
||||
"name": "Miami",
|
||||
"state_province_id": 30
|
||||
}, {
|
||||
"id": 10,
|
||||
"zip_code": "33694",
|
||||
"name": "Tampa",
|
||||
"state_province_id": 30
|
||||
}, {
|
||||
"id": 78787878,
|
||||
"zip_code": "91000",
|
||||
"name": "Luhansk",
|
||||
"state_province_id": 4531354
|
||||
}
|
||||
]
|
15
tests/fixtures/geography/state_province.json
vendored
Normal file
15
tests/fixtures/geography/state_province.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"id": 100,
|
||||
"country": "DE",
|
||||
"name": "Berlin"
|
||||
}, {
|
||||
"id": 30,
|
||||
"country": "US",
|
||||
"name": "Florida"
|
||||
}, {
|
||||
"id": 4531354,
|
||||
"country": "UA",
|
||||
"name": "Luhansk Oblast"
|
||||
}
|
||||
]
|
7
tests/fixtures/geography/street.json
vendored
Normal file
7
tests/fixtures/geography/street.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Some Street",
|
||||
"city_id": 1122
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user