File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments