Skip to content

Commit

Permalink
remove leading zeros for python3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf Gutierrez committed Dec 5, 2015
1 parent 89a489f commit 9e43e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class DagRunTest(unittest.TestCase):
def test_id_for_date(self):
run_id = models.DagRun.id_for_date(
datetime.datetime(2015, 01, 02, 03, 04, 05, 06, None))
datetime.datetime(2015, 1, 2, 3, 4, 5, 6, None))
assert run_id == 'scheduled__2015-01-02T03:04:05', (
'Generated run_id did not match expectations: {0}'.format(run_id))

Expand Down

0 comments on commit 9e43e56

Please sign in to comment.