Bug 920449 - Refactor test_cards_view_with_one_app.py