Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
tardyp committed Jul 14, 2015
1 parent bd287ce commit c31a80b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions master/buildbot/test/unit/test_stats_service.py
Expand Up @@ -44,7 +44,8 @@ def setUp(self):
self.master.db.builders.addTestBuilder(builderid=builderid, name=name)

self.stats_service = fakestats.FakeStatsService(master=self.master,
storage_backends=[fakestats.FakeStatsStorageService()], name="FakeStatsService")
storage_backends=[fakestats.FakeStatsStorageService()],
name="FakeStatsService")

self.stats_service.startService()

Expand Down Expand Up @@ -99,9 +100,7 @@ def test_influxdb_not_installed(self):
except ImportError:
self.assertRaises(config.ConfigErrors,
lambda: InfluxStorageService(
"fake_url", "fake_port", "fake_user", "fake_password", "fake_db", captures
)
)
"fake_url", "fake_port", "fake_user", "fake_password", "fake_db", captures))

# if instead influxdb is installed, then intialize it - no errors should be reaised
else:
Expand Down

0 comments on commit c31a80b

Please sign in to comment.