Skip to content

Commit

Permalink
sourcestampsetid not part of pickle
Browse files Browse the repository at this point in the history
  • Loading branch information
hborkhuis committed Mar 6, 2012
1 parent 5a44061 commit 61fa2ca
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions master/buildbot/test/integration/test_upgrade.py
Expand Up @@ -609,20 +609,16 @@ def test_sourcestamp_version3(self):
S'project'
p3
S''
sS'ssid'
p4
I10
sS'repository'
p5
p4
S''
sS'patch_info'
p6
p5
NsS'buildbot.sourcestamp.SourceStamp.persistenceVersion'
p7
p6
I2
sS'patch'
Nsb.""")
ss = cPickle.loads(pkl)
styles.doUpgrade()
self.assertEqual(ss.sourcestampsetid,10)
self.assertEqual(ss.codebase, '')

0 comments on commit 61fa2ca

Please sign in to comment.