

def test_attribute_defaults(self):
    'Sort defaults to descending last-modified date.'
    s = self.cls('path', {
        
    })
    self.assertEqual(s.field, 'created_on')
    self.assertEqual(s.direction, 'desc')

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