Skip to content

Commit

Permalink
Tests: don't call super of setUp()
Browse files Browse the repository at this point in the history
it's only doing setup_with_file() which we already call with another config file.
  • Loading branch information
Grégory Starck committed Jan 28, 2015
1 parent 790d565 commit 4944bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_livestatus_mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def tearDown(self):
@mock_livestatus_handle_request
class TestConfigSmall(TestConfig):
def setUp(self):
super(TestConfigSmall, self).setUp()
#super(TestConfigSmall, self).setUp()
self.setup_with_file('etc/shinken_1r_1h_1s.cfg')
Comment.id = 1
self.testid = str(os.getpid() + random.randint(1, 1000))
Expand Down

0 comments on commit 4944bfb

Please sign in to comment.