def test_merge_tries(self):
     self.assertEquals({
         'a': 'A',
         'b': {
             'c': 'C'
         }
     }, results_merger.merge_tries({
         'a': 'A',
         'b': {}
     }, {'b': {
         'c': 'C'
     }}))
 def test_merge_tries_unmergable(self):
     with self.assertRaisesRegexp(results_merger.MergeException, "a:b"):
         results_merger.merge_tries({'a': {'b': 'A'}}, {'a': {'b': 'C'}})