#NEWLINE# def create_image( self ) : #NEWLINE# #INDENT# 'Return an Image referenced by both a FooImage and a FooFile.' #NEWLINE# test_image = Image ( ) #NEWLINE# test_image . save ( ) #NEWLINE# foo_image = FooImage ( my_image = test_image ) #NEWLINE# foo_image . save ( ) #NEWLINE# test_file = File . objects . get ( pk = test_image . pk ) #NEWLINE# foo_file = FooFile ( my_file = test_file ) #NEWLINE# foo_file . save ( ) #NEWLINE# return test_image