def test_keys(self): t = Table() t.append(Record(a=1, b=2, c=3)) assert_unordered_equal(t.keys(), ['a', 'b', 'c'])