Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
invisig0th committed Jun 14, 2024
1 parent d92af21 commit 1d1d305
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions synapse/tests/test_model_inet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3120,7 +3120,7 @@ async def test_model_inet_service(self):
:public=$lib.true
)
:from=$blckiden
:account=$blckiden
:text="omg, can't wait for the new deadpool: https://www.youtube.com/watch?v=dQw4w9WgXcQ"
:links+=$linkiden
:attachments+=$atchiden
Expand All @@ -3145,7 +3145,7 @@ async def test_model_inet_service(self):
self.len(3, nodes)
for node in nodes:

self.eq(node.get('from'), blckacct.ndef[1])
self.eq(node.get('account'), blckacct.ndef[1])
self.eq(node.get('text'), "omg, can't wait for the new deadpool: https://www.youtube.com/watch?v=dQw4w9WgXcQ")
self.eq(node.get('links'), [msglink.ndef[1]])

Expand Down Expand Up @@ -3192,7 +3192,6 @@ async def test_model_inet_service(self):
[ inet:service:access=(api, blackout, 1715856900000, vertex, slack)
:account=$blckiden
:instance=$instiden
:owner=$visiiden
:platform=$platiden
:resource=$rsrciden
:success=$lib.true
Expand All @@ -3210,7 +3209,6 @@ async def test_model_inet_service(self):
self.len(1, nodes)
self.eq(nodes[0].get('account'), blckacct.ndef[1])
self.eq(nodes[0].get('instance'), platinst.ndef[1])
self.eq(nodes[0].get('owner'), visiacct.ndef[1])
self.eq(nodes[0].get('platform'), platform.ndef[1])
self.eq(nodes[0].get('resource'), resource.ndef[1])
self.true(nodes[0].get('success'))
Expand Down

0 comments on commit 1d1d305

Please sign in to comment.