def test_list_text_filters(self):
    sample_filter = self._get_sample_text_filter()
    created_filter_response = self.bitmovin.filters.Text.create(sample_filter)
    self.assertIsNotNone(created_filter_response)
    self.assertIsNotNone(created_filter_response.resource)
    self.assertIsNotNone(created_filter_response.resource.id)
    self._compare_text_filters(sample_filter, created_filter_response.resource)
    filters = self.bitmovin.filters.Text.list()
    self.assertIsNotNone(filters)
    self.assertIsNotNone(filters.resource)
    self.assertIsNotNone(filters.response)
    self.assertIsInstance(filters.resource, list)
    self.assertIsInstance(filters.response, Response)
    self.assertGreater(filters.resource.__sizeof__(), 1)
def test_list_text_filters(self):
    sample_filter = self._get_sample_text_filter()
    created_filter_response = self.bitmovin.filters.Text.create(sample_filter)
    self.assertIsNotNone(created_filter_response)
    self.assertIsNotNone(created_filter_response.resource)
    self.assertIsNotNone(created_filter_response.resource.id)
    self._compare_text_filters(sample_filter, created_filter_response.resource)
    filters = self.bitmovin.filters.Text.list()
    self.assertIsNotNone(filters)
    self.assertIsNotNone(filters.resource)
    self.assertIsNotNone(filters.response)
    self.assertIsInstance(filters.resource, list)
    self.assertIsInstance(filters.response, Response)
    self.assertGreater(filters.resource.__sizeof__(), 1)