<s> from django . test import TestCase <EOL> from . factories import PhotoFactory , PhotoSizeFactory <EOL> class PhotologueBaseTest ( TestCase ) : <EOL> def setUp ( self ) : <EOL> self . s = PhotoSizeFactory ( name = '<STR_LIT>' , <EOL> width = <NUM_LIT:100> , <EOL> height = <NUM_LIT:100> ) <EOL> self . pl = PhotoFactory ( title = '<STR_LIT>' , <EOL> slug = '<STR_LIT>' ) <EOL> def tearDown ( self ) : <EOL> self . pl . delete ( ) </s>
