diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test_atomicwrite.py	Fri Jan 02 13:08:39 2015 -0800
@@ -0,0 +1,20 @@
+#!/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()
+