Skip to content

Commit 3c4f80c

Browse files
committed
Fix linter issue
1 parent 997edc3 commit 3c4f80c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/onegov/town6/test_views_settings.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,15 @@ def test_migrate_links(client: Client) -> None:
211211
migrate_page.form['old_domain'] = old_domain
212212
migrate_page.form['test'] = False
213213
result = migrate_page.form.submit().follow()
214+
print(result.pyquery('.callout'))
214215
assert '3 Links migriert' in result
215216

216217
topic_text_new = TopicCollection(session).by_title('Foo Topic').text
217218
news_text_new = NewsCollection(request).by_title('Big News').text
218-
assert old_domain not in TopicCollection(session).by_title('Foo Topic').text
219-
assert old_domain not in NewsCollection(request).by_title('Big News').text
219+
assert (old_domain not in
220+
TopicCollection(session).by_title('Foo Topic').text)
221+
assert (old_domain not in
222+
NewsCollection(request).by_title('Big News').text)
220223

221224
topic_text_replaced = topic_text.replace('foo.ch', 'localhost')
222225
assert topic_text_replaced == topic_text_new

0 commit comments

Comments
 (0)