'``Configuration.applications`` raises a
``ConfigurationError`` error if the specified volume mountpoint is
not a valid absolute path.'

def test_error_on_volume_invalid_mountpoint(self):

    config = dict(version=1, applications={u'mysql-hybridcluster': dict(image=u'busybox', volume={u'mountpoint': u'./.././var//'})})
    parser = FlockerConfiguration(config)
    exception = self.assertRaises(ConfigurationError, parser.applications)
    self.assertEqual(u'Application    \'mysql-hybridcluster\'    has    a    config    error.    Invalid    volume    specification.    Mountpoint    "./.././var//"    is    not    an    absolute    path.', exception.message)
