Quiesce assertAlmostEquals deprecation warning
Last of the low-hanging fruit in Glance testlog verbosity, let's get rid of a deprecation warning around usage of assertAlmostEquals(). Change-Id: I9c01887d46d6504dd77bd04cab4c07f4bc0506fa
This commit is contained in:
parent
117cecfb4c
commit
cae8e682cd
@ -74,8 +74,8 @@ class TimeUtilsTest(test_utils.BaseTestCase):
|
||||
before = timeutils.utcnow()
|
||||
after = before + datetime.timedelta(days=7, seconds=59,
|
||||
microseconds=123456)
|
||||
self.assertAlmostEquals(604859.123456,
|
||||
timeutils.delta_seconds(before, after))
|
||||
self.assertAlmostEqual(604859.123456,
|
||||
timeutils.delta_seconds(before, after))
|
||||
|
||||
def test_iso8601_from_timestamp(self):
|
||||
utcnow = timeutils.utcnow()
|
||||
|
Loading…
Reference in New Issue
Block a user