Skip to content

Commit

Permalink
fix format string typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fblackburn1 authored and bloom1 committed Nov 4, 2019
1 parent 233c5ab commit 764c99e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wazo_acceptance/steps/phone_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ def when_chan_test_queues_dtmf(context, digit, channel_id):
@when('chan_test hangs up channel with id "{channel_id}"')
def when_chan_test_hangs_up_channel_with_id(context, channel_id):
cmd = 'channel request hangup {prefix}/auto-{channel_id}'.format(
CHAN_PREFIX,
channel_id,
prefix=CHAN_PREFIX,
channel_id=channel_id,
)
context.helpers.asterisk.send_to_asterisk_cli(cmd)


def _sleep(seconds):
time.sleep(float(seconds))

0 comments on commit 764c99e

Please sign in to comment.