Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/fixtures/example.yaml.fixture
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
TestEncoding:
to: $NameReg
fun_name: some_method
sig: iii
sig: iiis
data:
- $Subcurrency
- 42
- "\x01\x00"
- \x01\x00
gas: 10000
gas_price: 10000000000000
value: 0
Expand All @@ -62,4 +63,4 @@
solidity:
- Config
- mortal
- owned
- owned
5 changes: 3 additions & 2 deletions test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,16 @@ def test_load_yaml():
'transact': {
'TestEncoding': {
'fun_name': 'some_method',
'sig': 'iii',
'sig': 'iiis',
'gas': 10000,
'gas_price': 10000000000000,
'to': '$NameReg',
'value': 0,
'data': [
'$Subcurrency',
42,
'\x01\x00'],
'\x01\x00',
'\\x01\\x00'],
'wait': False
}
}
Expand Down