mirror of
https://github.com/aljazceru/plugins.git
synced 2026-01-11 17:24:20 +01:00
request-invoice: No need to kill background processes anymore
This commit is contained in:
@@ -35,13 +35,3 @@ def test_requestinvoice_starts(node_factory):
|
||||
r = requests.get('http://localhost:8809/invoice/1000/text')
|
||||
assert(r.status_code == 429)
|
||||
assert("429 Too Many Requests" in r.text )
|
||||
|
||||
l1.rpc.plugin_stop(plugin_path)
|
||||
l1.stop()
|
||||
|
||||
# terminate background process
|
||||
try:
|
||||
full_path = "python3 " + plugin_path
|
||||
check_output(["pkill","-f", full_path])
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user