summaryrefslogtreecommitdiffstats
path: root/tests/features/steps/specials.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features/steps/specials.py')
-rw-r--r--tests/features/steps/specials.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/features/steps/specials.py b/tests/features/steps/specials.py
index 26450514..2c77a3b1 100644
--- a/tests/features/steps/specials.py
+++ b/tests/features/steps/specials.py
@@ -10,18 +10,19 @@ from behave import when, then
import wrappers
-@when('we refresh completions')
+@when("we refresh completions")
def step_refresh_completions(context):
"""
Send refresh command.
"""
- context.cli.sendline('\\refresh')
+ context.cli.sendline("\\refresh")
-@then('we see completions refresh started')
+@then("we see completions refresh started")
def step_see_refresh_started(context):
"""
Wait to see refresh output.
"""
wrappers.expect_pager(
- context, 'Auto-completion refresh started in the background.\r\n', timeout=2)
+ context, "Auto-completion refresh started in the background.\r\n", timeout=2
+ )