def test_updated_movies(): updated = updated_movies('2014-09-22') assert isinstance(updated, list) assert len(updated) == 2 assert isinstance(updated[0], Movie)
def test_updated_movies(self): """Test that updated movies are returned successfully""" movies = updated_movies() self.assertGreater(len(movies), 0) self.assertIsInstance(movies[0], Movie)
def com_net_trakt_get_updated(self): return movies.updated_movies()