~hopem/charm-helpers/fix-ssl-disable

« back to all changes in this revision

Viewing changes to tests/contrib/charmsupport/test_nrpe.py

  • Committer: Liam Young
  • Date: 2015-02-19 08:41:54 UTC
  • Revision ID: liam.young@canonical.com-20150219084154-gik3vxkmam4jlp1d
[gnuoy, trivial] Fix unit test for previous commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        """Test that nagios_servicegroups gets set to the default if omitted"""
77
77
        self.patched['config'].return_value = {'nagios_context': 'testctx'}
78
78
        checker = nrpe.NRPE()
79
 
        self.assertEqual(checker.nagios_servicegroups, 'juju')
 
79
        self.assertEqual(checker.nagios_servicegroups, 'testctx')
80
80
 
81
81
    def test_no_nagios_installed_bails(self):
82
82
        self.patched['config'].return_value = {'nagios_context': 'test',