random checking of new api stuff

This commit is contained in:
j 2010-01-25 14:50:21 +05:30
commit f2944b1b75
12 changed files with 312 additions and 207 deletions

View file

@ -123,6 +123,10 @@ def newMovie(title, director, year):
movie.oxdbId = "__init__%s" % random.randint(0, 100000)
movie.save()
movie.oxdbId = movie.oxid()
print title, director, year
print movie.oxdbId
print movie.movieId
movie.save()
return movie