ashb commented on a change in pull request #8875:
URL: https://github.com/apache/airflow/pull/8875#discussion_r426477404
##########
File path: tests/www/test_views.py
##########
@@ -2601,14 +2601,14 @@ def test_create_dagrun(self):
dr = self.session.query(models.DagRun).one()
- self.assertEqual(dr.execution_date,
timezone.convert_to_utc(datetime(2018, 7, 6, 5, 4, 3)))
+ self.assertEqual(dr.execution_date, dt.fromisoformat('2018-07-06
05:04:03-02:00'))
def test_create_dagrun_valid_conf(self):
conf_value = dict(Valid=True)
data = {
"state": "running",
"dag_id": "example_bash_operator",
- "execution_date": "2018-07-06 05:05:03",
+ "execution_date": "2018-07-06 05:05:03-02:00",
Review comment:
I guess the html form would allow it, but the JS that populates/updates
that field doesn't allow it.
This is probably fine.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]