<s> from models . cards . slideshow_card import SlideshowCard <EOL> import pytest <EOL> xfail = pytest . mark . xfail <EOL> @ xfail <EOL> def test_slideshow_site ( db_conn , cards_table ) : <EOL> """<STR_LIT>""" <EOL> card , errors = SlideshowCard . insert ( db_conn , { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT:name>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } ) <EOL> assert len ( errors ) == <NUM_LIT:1> <EOL> card , errors = card . update ( db_conn , { '<STR_LIT>' : '<STR_LIT>' } ) <EOL> assert len ( errors ) == <NUM_LIT:0> <EOL> @ xfail <EOL> def test_slideshow_id ( db_conn , cards_table ) : <EOL> """<STR_LIT>""" <EOL> card , errors = SlideshowCard . insert ( db_conn , { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT:name>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } ) <EOL> assert len ( errors ) == <NUM_LIT:1> <EOL> card , errors = card . update ( db_conn , { '<STR_LIT>' : '<STR_LIT>' } ) <EOL> assert len ( errors ) == <NUM_LIT:0> <EOL> @ xfail <EOL> def test_validate_response ( db_conn , cards_table ) : <EOL> """<STR_LIT>""" <EOL> assert False </s>
