diff tests/unit.py @ 38:8909ae1cc4ea

fix serialization (stub) tests
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 27 Mar 2012 10:28:02 -0700
parents a1f8dec4d4f9
children 3c91bf85adb5
line wrap: on
line diff
--- a/tests/unit.py	Tue Mar 27 09:52:51 2012 -0700
+++ b/tests/unit.py	Tue Mar 27 10:28:02 2012 -0700
@@ -53,6 +53,7 @@
 
         # serialize to a temporary file
         filename = tempfile.mktemp(suffix='.json')
+        self.assertEqual(example.filename2format(filename), 'json')
         self.assertFalse(os.path.exists(filename))
         config = {'browser_path': '/home/jhammel/bin/firefox',
                   'activeTests':  ['ts']}