Fix start url format for paver pa11ycrawler

This commit is contained in:
Christine Lytwynec
2016-04-22 11:47:08 -04:00
committed by Clinton Blackburn
parent 6a01f18e17
commit 0f0636387b
2 changed files with 2 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ class TestPaverPa11yCrawlerCmd(unittest.TestCase):
'--pa11y-reporter="1.0-json" '
'--depth-limit=6 '
).format(
start_urls=start_urls,
start_urls=' '.join(start_urls),
report_dir=report_dir,
)
return expected_statement

View File

@@ -360,7 +360,7 @@ class Pa11yCrawler(BokChoyTestSuite):
'--pa11y-reporter="{reporter}" '
'--depth-limit={depth} '
).format(
start_urls=self.start_urls,
start_urls=' '.join(self.start_urls),
allowed_domains='localhost',
report_dir=self.pa11y_report_dir,
reporter="1.0-json",