Returns a normalized hash representation
(h)
| 215 | |
| 216 | |
| 217 | def nh(h): |
| 218 | """ |
| 219 | Returns a normalized hash representation |
| 220 | """ |
| 221 | v = [] |
| 222 | for k in sorted(h): |
| 223 | v.append(repr(k) + ": " + repr(h[k])) |
| 224 | return "{" + (", ".join(v)) + "}" |
| 225 | |
| 226 | class DBPCellTests(unittest.TestCase): |
| 227 |