243
243
self.assertEqual([(("foo bar",), "baz"), (("quux",), "blarh")],
244
244
sorted(node.iteritems(None)))
251
self.assertEqual([(("foo",), "bar\x00baz"), (("quux",), "blarh")],
259
self.assertEqual([(("foo", "1"), "bar\x00baz"), (("quux", ""), "blarh")],
246
262
def test_iteritems_selected_one_of_two_items(self):
247
263
node = LeafNode.deserialise(
248
264
"chkleaf:\n0\n1\n2\nfoo bar\x00baz\nquux\x00blarh\n", ("sha1:1234",))