Skip to content

Commit 3b6e1e7

Browse files
pi314xxeroc
authored andcommitted
Update test_transactions.py
1 parent d58ad3b commit 3b6e1e7

1 file changed

Lines changed: 24 additions & 16 deletions

File tree

tests/test_transactions.py

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,17 +1131,21 @@ def test_credit_offer_create(self):
11311131
"enabled": False,
11321132
"auto_disable_time": 1000,
11331133
"acceptable_collateral":
1134-
[0,
1134+
[[
1135+
"1.3.0",
11351136
{
1136-
"asset": "1.3.0"
1137+
"base": {
1138+
"amount": 1, "asset_id": "1.3.2512"
1139+
},
1140+
"quote": {
1141+
"amount": 250000, "asset_id": "1.3.0"
1142+
}
11371143
}
1138-
],
1144+
]],
11391145
"acceptable_borrowers":
1140-
[0,
1141-
{
1142-
"account": "1.2.1"
1143-
}
1144-
],
1146+
[[
1147+
"1.2.1",1000
1148+
]],
11451149
"extensions": [],
11461150
}
11471151
)
@@ -1175,17 +1179,21 @@ def test_credit_offer_update(self):
11751179
"enabled": True,
11761180
"auto_disable_time": False,
11771181
"acceptable_collateral":
1178-
[0,
1182+
[[
1183+
"1.3.0",
11791184
{
1180-
"asset": "1.3.0"
1185+
"base": {
1186+
"amount": 1, "asset_id": "1.3.2512"
1187+
},
1188+
"quote": {
1189+
"amount": 250000, "asset_id": "1.3.0"
1190+
}
11811191
}
1182-
],
1192+
]],
11831193
"acceptable_borrowers":
1184-
[0,
1185-
{
1186-
"account": "1.2.1"
1187-
}
1188-
],
1194+
[[
1195+
"1.2.1",1000
1196+
]],
11891197
"extensions": [],
11901198
}
11911199
)

0 commit comments

Comments
 (0)