def test_alert_receive_now(self):
        alert = Alert(
            self.RESOURCE,
            self.EVENT,
            environment=self.ENVIRONMENT,
            severity=self.SEVERITY
        )

        alert.receive_now()
        self.assertIsInstance(alert.receive_time, datetime.datetime)
Relative position for the end of the document.
dataset/ETHPy150Open alerta/python-alerta/tests/test_alert.py/TestAlert.test_alert_receive_now--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.get_end_of_document_position