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: Ic2e3d395335003d043b400e96184ceb3a238063d
Closes-bug: #1715486
This commit is contained in:
Sean McGinnis 2017-09-06 16:59:07 -05:00
parent 41cc9dd49f
commit 07caad2946
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,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