

def test_dir_other_field(self):
    'dir property returns nothing for any other field.'
    s = self.cls('path', {
        'sortfield': 'name',
        'sortdirection': 'desc',
    })
    self.assertEqual(s.dir('status'), '')

dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py SortTest.test_dir_other_field/original