Skip to content

Commit

Permalink
merge cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cisphyx committed Jan 17, 2025
1 parent 93d6823 commit 14449ba
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions synapse/tests/test_model_syn.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,16 +448,10 @@ async def test_syn_cmd_runts(self):
nodes = await core.nodes('syn:cmd +:package')
self.len(0, nodes)

with self.getLoggerStream('synapse.cortex') as stream:
await core.nodes(f'service.add test {url}')
iden = core.getStormSvcs()[0].iden
await core.nodes(f'service.add test {url}')
iden = core.getStormSvcs()[0].iden

await core.nodes('$lib.service.wait(test)')

stream.seek(0)
warn = "Storm command definition 'forms' key is deprecated and will be removed " \
"in 3.0.0 (command foobar in package foo)"
self.isin(warn, stream.read())
await core.nodes('$lib.service.wait(test)')

# check that runt nodes for new commands are created
nodes = await core.nodes('syn:cmd +:package')
Expand Down

0 comments on commit 14449ba

Please sign in to comment.