view tests/test_atomicwrite.py @ 0:dc90512b9c98

boilerplate
author Jeff Hammel <k0scist@gmail.com>
date Fri, 02 Jan 2015 13:08:39 -0800
parents
children a4188f41ca35
line wrap: on
line source

#!/usr/bin/env python

"""
unit tests for AtomicWrite
"""

import os
import sys
import tempfile
import unittest

class AtomicWriteUnitTest(unittest.TestCase):

    def test_atomicwrite(self):
        tf = tempfile.mktemp()
        self.assertFalse(os.path.exists(tf))

if __name__ == '__main__':
    unittest.main()