def test_update_db_approve_translation(self):
        self.main_db_translation.approved = False
        self.main_db_translation.approved_date = None
        self.main_db_translation.save()

        self.update_main_db_entity()
        self.main_db_translation.refresh_from_db()
        assert_attributes_equal(
            self.main_db_translation,
            approved=True,
            approved_date=aware_datetime(1970, 1, 1)
        )
Given a connection parameters, return a new
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_changeset.py/ChangeSetTests.test_update_db_approve_translation--crossover with--dataset/ETHPy150Open niwinz/django-redis/django_redis/pool.py/ConnectionFactory.get_connection_pool