Files
mongo/buildscripts/tests/util/test_time.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
246 B
Python
Raw Normal View History

"""Unit test for the util.time module."""
import unittest
from buildscripts.util import time as time_utils
class Ns2SecTest(unittest.TestCase):
def test_ns_converted_to_seconds(self):
self.assertEqual(time_utils.ns2sec(10**9), 1)