Commits

Anonymous committed 17a2fc0

Fixed problems in unit test file.

Comments (0)

Files changed (1)

test/_movie_test.py

         pygame.display.init()    
         pygame.mixer.quit()
         movie_file = trunk_relative_path('examples/data/blue.mpg')
-        movie = pygame.gmovie.Movie(filename)
+        movie = gmovie.Movie(filename)
         self.assertEqual(movie, True)
         
         #screen = pygame.display.get_surface()
         pygame.display.init()
         pygame.mixer.quit()
         movie_file = trunk_relative_path('examples/data/blue.mpg')
-        movie = pygame.gmovie.Movie(filename)
+        movie = gmovie.Movie(filename)
         
         self.assertEqual(movie.playing, False)
 
         pygame.display.init()
         pygame.mixer.quit()
         movie_file = trunk_relative_path('examples/data/blue.mpg')
-        movie = pygame.gmovie.Movie(filename)
+        movie = gmovie.Movie(filename)
         
         self.assertEqual(movie.playing, False)
         movie.play(-1)
         pygame.display.init()
         pygame.mixer.quit()
         movie_file = trunk_relative_path('examples/data/blue.mpg')
-        movie = pygame.gmovie.Movie(filename)
+        movie = gmovie.Movie(filename)
         
         movie.play(-1)
         time.sleep(2)