Use newer location for iso8601 UTC

Newer versions have moved from iso8601.iso8601.Utc() to
just iso8601.UTC, causing tests to fail under py35.

Change-Id: Ie35ef49546dd322c2630c77d528a197ff295c3ae
Closes-bug: #1715486
This commit is contained in:
Sean McGinnis 2017-09-06 16:54:25 -05:00
parent e9318c7574
commit c8b8fe86fc
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class _TestObject(object):
self.assertEqual('updated', obj.bar)
def test_base_attributes(self):
dt = datetime.datetime(1955, 11, 5, 0, 0, tzinfo=iso8601.iso8601.Utc())
dt = datetime.datetime(1955, 11, 5, 0, 0, tzinfo=iso8601.UTC)
datatime = fields.DateTimeField()
obj = MyObj(self.context)
obj.created_at = dt