Mercurial > treepkg
changeset 32:b1235080e694
add more tests for status defaults
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 15 Mar 2007 11:48:13 +0100 |
parents | 22192fad1f79 |
children | 9b10c81ffd0f |
files | test/test_status.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_status.py Wed Mar 14 21:49:05 2007 +0100 +++ b/test/test_status.py Thu Mar 15 11:48:13 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)