'Config: __setattr__ with setting values using dot notation'

def test__setattr__ExplicitSetUsingDotNotation(self):

    path = '/tmp/notexist'
    c = headphones.config.Config(path)
    act1 = c.ALBUM_ART_FORMAT = 'Apple'
    act2 = c.API_ENABLED = True
    act3 = c.API_KEY = 123
    self.assertEqual(self.config_mock['General']['album_art_format'], 'Apple')
    self.assertEqual(self.config_mock['General']['api_enabled'], 1)
    self.assertEqual(self.config_mock['General']['api_key'], '123')
    self.assertEqual(act1, 'Apple')
    self.assertEqual(act2, 1)
    self.assertEqual(act3, 123)
