'Test that we don\'t throw on a broken file, and that the configuration
remains in a consistent state.'

def test_broken_file(self):

    with open(self.path1, 'w') as f:
        f.write('{broken}')
    self.conf2.set('context', {'k1': 'v1'})
    self.conf2.write()
    router = ConfigRouter([self.path1, self.path2])
    self.assertEqual(router.get('context').get('k1'), 'v1')
