Пример #1
0
 def test_Movies_Get_By_Name(self):
     m = MoviesModel().get(SAMPLE_MOVIE_OBJECT)
     self.assertEqual(m.count(), MOVIE_LENGTH)
Пример #2
0
 def test_Movies_Get_By_Regex(self):
     m = MoviesModel().getMovieRegex(SAMPLE_REGEX)
     print(m.count())
     self.assertGreaterEqual(m.count(), MOVIE_LENGTH)
Пример #3
0
    def test_Movies_Get(self):

        m = MoviesModel().get({})
        self.assertGreaterEqual(m.count(), MOVIE_LENGTH)