title: How to unittest a dictionary that contains keys with string values and keys that are dictionaries?
body: <p>I am trying to unit-test, within python, a dictionary that contains keys with string values and keys with dictionary values, however, I don't know a good way of doing this. Below is an example:</p>
  
  <pre><code>x = {'type': 'example', 'color': 'blue', 'entries_dict':{'clock':'c', 'id': 1}}
  y = {'color': 'blue', 'entries_dict':{'id': 1, 'clock':'c'}, 'type': 'example'}
  self.assertDictEqual(x, y)
  </code></pre>
  
  <p>The above example is what I want to accomplish but don't know how. A recursive way would be better since there is more information in my actual dictionaries than the example I posted above.</p>