def test_toRFC4034DateString(self):
        """
        L{DateSerialNumber.toRFC4034DateString} interprets the current value as
        a unix timestamp and returns a date string representation of that date.
        """
        self.assertEqual(
            '20120101000000',
            SerialNumber(1325376000).toRFC4034DateString()
        )

        L{DateSerialNumber.toRFC4034DateString} interprets the current value as
        a unix timestamp and returns a date string representation of that date.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_rfc1982.py