changeset 33:9b10c81ffd0f

merge
author Bernhard Herzog <bh@intevation.de>
date Thu, 15 Mar 2007 11:49:17 +0100
parents b1235080e694 (diff) 47d69e5d8ace (current diff)
children 1fefedfb77df
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_status.py	Thu Mar 15 11:42:03 2007 +0100
+++ b/test/test_status.py	Thu Mar 15 11:49:17 2007 +0100
@@ -44,9 +44,11 @@
         self.assertRaises(AttributeError,
                           setattr, status, "unknown_field", "some value")
 
-    def test_default_value(self):
+    def test_default_values(self):
         status = Status(self.filename)
+        self.assertEquals(status.status, "unknown")
         self.assertEquals(status.start, None)
+        self.assertEquals(status.stop, None)
 
     def test_date(self):
         timestamp = datetime(2007, 3, 9, 17, 32, 55)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)