<s> from django . test import TestCase <EOL> from . blueprints import pizza <EOL> class FactoryTest ( TestCase ) : <EOL> def test_blueprint ( self ) : <EOL> movie_night = pizza . make ( quantity = <NUM_LIT:10> ) <EOL> self . assertEqual ( len ( movie_night ) , <NUM_LIT:10> ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:0> ] . chef . first_name , '<STR_LIT>' ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:1> ] . chef . first_name , '<STR_LIT>' ) <EOL> def test_blueprint_build ( self ) : <EOL> movie_night = pizza . build ( quantity = <NUM_LIT:10> ) <EOL> self . assertEqual ( len ( movie_night ) , <NUM_LIT:10> ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:0> ] . chef . first_name , '<STR_LIT>' ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:1> ] . chef . first_name , '<STR_LIT>' ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:0> ] . thickness , <NUM_LIT:1> ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:1> ] . thickness , <NUM_LIT:1> ) <EOL> movie_night = pizza . build ( quantity = <NUM_LIT:10> , make_fks = True ) <EOL> self . assertEqual ( len ( movie_night ) , <NUM_LIT:10> ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:0> ] . chef . first_name , '<STR_LIT>' ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:1> ] . chef . first_name , '<STR_LIT>' ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:0> ] . thickness , <NUM_LIT:1> ) <EOL> self . assertEqual ( movie_night [ <NUM_LIT:1> ] . thickness , <NUM_LIT:1> ) </s>
