functional_tests: Fix steps with domain parameter

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy committed 2018-10-29 23:22:51 -04:00
1 parent 45256dd3f0
commit 749ddca68e
2 files changed
+3 -3

No files matched your search

@@ -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)
+2 -2
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