Skip to content

Commit

Permalink
Fix Travis issue: duplicate function.
Browse files Browse the repository at this point in the history
The other function seemed bogus and I think was a relic.
  • Loading branch information
jaredgrubb committed Dec 8, 2013
1 parent ffd92e2 commit fbda3d3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions master/buildbot/test/unit/test_status_slave.py
Expand Up @@ -166,7 +166,6 @@ def test_updateInfo_string(self):
def test_updateInfo_None(self):
s = self.makeStatus()

KEY = 'key'
VALUE = None
s.updateInfo(key=VALUE)

Expand All @@ -190,16 +189,6 @@ def test_updateInfo_tuple(self):
# tuples become lists due to JSON restriction
self.assertEqual(s.getInfo('key'), list(VALUE))

def test_updateInfo_None(self):
s = self.makeStatus()

VALUE = None
s.updateInfo(key=VALUE)

# tuples become lists due to JSON restriction
self.assertEqual(s.hasInfo('key'), True)
self.assertEqual(s.getInfo('key'), VALUE)

def test_updateInfo_set_raises(self):
s = self.makeStatus()

Expand Down

0 comments on commit fbda3d3

Please sign in to comment.