'Config : check_section'

@TestArgs(('General', False), ('Email', False), ('some_new_section_never_defined', True), ('another_new_section_never_defined', True))
def test_check_section(self, section_name, expected_return):

    path = '/tmp/notexist'
    c = headphones.config.Config(path)
    res = c.check_section(section_name)
    res2 = c.check_section(section_name)
    self.assertEqual(res, expected_return)
    self.assertFalse(res2)
