def test_retrieve_text_filter(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)
    retrieved_filter_response = self.bitmovin.filters.Text.retrieve(created_filter_response.resource.id)
    self.assertIsNotNone(retrieved_filter_response)
    self.assertIsNotNone(retrieved_filter_response.resource)
    self._compare_text_filters(created_filter_response.resource, retrieved_filter_response.resource)
def test_retrieve_text_filter(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)
    retrieved_filter_response = self.bitmovin.filters.Text.retrieve(created_filter_response.resource.id)
    self.assertIsNotNone(retrieved_filter_response)
    self.assertIsNotNone(retrieved_filter_response.resource)
    self._compare_text_filters(created_filter_response.resource, retrieved_filter_response.resource)