

def create_movie_data(self):
    scifi = Genre(name='Science-Fiction')
    rscott = Director(name='Ridley Scott')
    glucas = Director(name='George Lucas')
    alien = Movie(title='Alien', year=1979, director=rscott, genres=[scifi, Genre(name='Horror')])
    brunner = Movie(title='Blade Runner', year=1982, director=rscott, genres=[scifi])
    swars = Movie(title='Star Wars', year=1977, director=glucas, genres=[scifi])
    e.session.commit()
    e.session.expunge_all()

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_elixir.py BaseTestCase.create_movie_data/original