functional_tests: Fix steps with domain parameter

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2018-10-29 23:20:14 -04:00
parent 45256dd3f0
commit 749ddca68e
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ def disable_avahi(browser):
@given(
parsers.parse('the domain name for {app_name:w} is set to {domain_name:w}')
parsers.parse('the domain name for {app_name:w} is set to {domain_name:S}')
)
def select_domain_name(browser, app_name, domain_name):
application.select_domain_name(browser, app_name, domain_name)

View File

@ -51,7 +51,7 @@ def change_hostname_to(browser, hostname):
system.set_hostname(browser, hostname)
@when(parsers.parse('I change the domain name to {domain:w}'))
@when(parsers.parse('I change the domain name to {domain:S}'))
def change_domain_name_to(browser, domain):
system.set_domain_name(browser, domain)
@ -71,7 +71,7 @@ def hostname_should_be(browser, hostname):
assert system.get_hostname(browser) == hostname
@then(parsers.parse('the domain name should be {domain:w}'))
@then(parsers.parse('the domain name should be {domain:S}'))
def domain_name_should_be(browser, domain):
assert system.get_domain_name(browser) == domain