"""
        Tests following_schedule a dag with a relativedelta schedule_interval
        using decorated dag
        """
        from airflow.decorators import dag
        dag_id = "test_schedule_dag_relativedelta"
        delta = relativedelta(hours=+1)
        @dag(dag_id=dag_id, schedule_interval=delta)
        def mydag():
            BaseOperator(task_id="faketastic", owner="Also fake", start_date=TEST_DATE)
        _dag = mydag()
        _next = _dag.following_schedule(TEST_DATE)
        assert _next.isoformat() == "2015-01-02T01:00:00+00:00"
        _next = _dag.following_schedule(_next)
        assert _next.isoformat() == "2015-01-02T02:00:00+00:00"
    def test_previous_schedule_datetime_timezone(self):
        
        start = datetime.datetime(2018, 3, 25, 2, tzinfo=datetime.timezone.utc)
        dag = DAG("tz_dag", start_date=start, schedule="@hourly")
        when = dag.previous_schedule(start)
        assert when.isoformat() == "2018-03-25T01:00:00+00:00"
    def test_following_schedule_datetime_timezone(self):
        
        start = datetime.datetime(2018, 3, 25, 2, tzinfo=datetime.timezone.utc)
        dag = DAG("tz_dag", start_date=start, schedule="@hourly")
        when = dag.following_schedule(start)
        assert when.isoformat() == "2018-03-25T03:00:00+00:00"
    def test_following_schedule_datetime_timezone_utc0530(self):
        
        class UTC0530(datetime.tzinfo):