From b21a80ba2eab48ad48b23826429bee09f657e670 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 30 Mar 2016 17:47:56 +0200 Subject: [PATCH 2/6] tests: use pyquery to match keywords attributes (#10477) Simple string search does not always work as ordering of tag attributes is random. --- tests/test_form_pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_form_pages.py b/tests/test_form_pages.py index 0221bae..8fd1586 100644 --- a/tests/test_form_pages.py +++ b/tests/test_form_pages.py @@ -148,8 +148,8 @@ def test_home_keywords(pub): formdef.keywords = 'hello, world' formdef.store() home = get_app(pub).get('/') - assert '