def test_init(self):
    c = conncheck.ConnCheckInstanceBase(name='a-name', log_format=conncheck.LogFormats.CSV, config_file='thing.yaml', install_dir='/opt', module_source='/some/other/source', install_user='a-user')
    self.assertEqual(c.name, 'a-name')
    self.assertEqual(c.log_format, conncheck.LogFormats.CSV)
    self.assertEqual(c.config_file, 'thing.yaml')
    self.assertEqual(c.install_dir, '/opt')
    self.assertEqual(c.module_source, '/some/other/source')
    self.assertEqual(c.install_user, 'a-user')
    self.assertEqual(self.c.name, 'base')
    self.assertEqual(self.c.log_format, conncheck.LogFormats.InfluxDB)
    self.assertEqual(self.c.config_file, 'config.yaml')
    self.assertEqual(self.c.install_dir, '.')
    self.assertEqual(self.c.module_source, '/some/source')
    self.assertEqual(self.c.install_user, 'conncheck')
def test_init(self):
    c = conncheck.ConnCheckInstanceBase(name='a-name', log_format=conncheck.LogFormats.CSV, config_file='thing.yaml', install_dir='/opt', module_source='/some/other/source', install_user='a-user')
    self.assertEqual(c.name, 'a-name')
    self.assertEqual(c.log_format, conncheck.LogFormats.CSV)
    self.assertEqual(c.config_file, 'thing.yaml')
    self.assertEqual(c.install_dir, '/opt')
    self.assertEqual(c.module_source, '/some/other/source')
    self.assertEqual(c.install_user, 'a-user')
    self.assertEqual(self.c.name, 'base')
    self.assertEqual(self.c.log_format, conncheck.LogFormats.InfluxDB)
    self.assertEqual(self.c.config_file, 'config.yaml')
    self.assertEqual(self.c.install_dir, '.')
    self.assertEqual(self.c.module_source, '/some/source')
    self.assertEqual(self.c.install_user, 'conncheck')