comparison test/test_status.py @ 259:27824d3add92

Add a tags field to the revision status to keep track of which tags apply to that build
author Bernhard Herzog <bh@intevation.de>
date Fri, 24 Apr 2009 17:55:29 +0000
parents b3f9cc956acc
children
comparison
equal deleted inserted replaced
258:bb98e728f25b 259:27824d3add92
53 def test_default_values(self): 53 def test_default_values(self):
54 status = RevisionStatus(self.filename) 54 status = RevisionStatus(self.filename)
55 self.assertEquals(status.status.name, "unknown") 55 self.assertEquals(status.status.name, "unknown")
56 self.assertEquals(status.start, None) 56 self.assertEquals(status.start, None)
57 self.assertEquals(status.stop, None) 57 self.assertEquals(status.stop, None)
58 self.assertEquals(status.tags, "")
58 59
59 def test_date(self): 60 def test_date(self):
60 timestamp = datetime(2007, 3, 9, 17, 32, 55) 61 timestamp = datetime(2007, 3, 9, 17, 32, 55)
61 status = RevisionStatus(self.filename) 62 status = RevisionStatus(self.filename)
62 status.start = timestamp 63 status.start = timestamp
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)