mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
White-space related lint fixes.
This commit is contained in:
parent
b69fbe4cbf
commit
ece3b06c4c
@ -7,14 +7,14 @@ Tests to try out packeting. Potentially ephemeral
|
||||
from salt.transport.road.raet import packeting
|
||||
from ioflo.base.odicting import odict
|
||||
|
||||
|
||||
def test():
|
||||
data = odict(hk=1, bk=1, bf=1, cf=1)
|
||||
body=odict(msg='Hello Raet World', extra='what is this')
|
||||
body = odict(msg='Hello Raet World', extra='what is this')
|
||||
packet1 = packeting.Packet(data=data, body=body)
|
||||
print packet1.body.data
|
||||
print packet1.pack()
|
||||
|
||||
|
||||
packet2 = packeting.Packet()
|
||||
packet2.parse(packet1.packed)
|
||||
print packet2.body.data
|
||||
@ -27,6 +27,5 @@ def test():
|
||||
print packet1.pack()
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test()
|
||||
|
Loading…
Reference in New Issue
Block a user