'Config: check_setting , basic cases'

@TestArgs(('api_enabled', 0, int), ('Api_Key', '', str))
def test_check_setting(self, setting_name, expected_return, expected_instance):

    path = '/tmp/notexist'
    c = headphones.config.Config(path)
    res = c.check_setting(setting_name)
    res2 = c.check_setting(setting_name)
    self.assertIsInstance(res, expected_instance)
    self.assertEqual(res, expected_return)
    self.assertEqual(res, res2)
