# Path: common/utils.py
# def timestamp_seconds():
#     global LAST_TIMESTAMP
# 
#     timestamp = int(time())
#     LAST_TIMESTAMP = (LAST_TIMESTAMP + 1) if timestamp <= LAST_TIMESTAMP else timestamp
# 
#     return LAST_TIMESTAMP


from django.test import TestCase
from ..utils import timestamp_seconds



class UtilsTest(TestCase):
    """Test utils module."""

    def test_timestamp_seconds(self):
        timestamps = set()

# Path: common/utils.py
# def timestamp_seconds():
#     global LAST_TIMESTAMP
# 
#     timestamp = int(time())
#     LAST_TIMESTAMP = (LAST_TIMESTAMP + 1) if timestamp <= LAST_TIMESTAMP else timestamp
# 
#     return LAST_TIMESTAMP


# Path: common/tests/test_utils.py
from django.test import TestCase
from ..utils import timestamp_seconds




class UtilsTest(TestCase):
    """Test utils module."""

    def test_timestamp_seconds(self):
        timestamps = set()

        [timestamps.add(timestamp_seconds()) for _ in range(5)]