def test_order_by_multiple_asc(self):
        s = self.cls("path", {"sortfield": "one,two", "sortdirection": "asc"})
        self.assertEqual(s.order_by, ("one", "two"))
Creates fields for given form based on given model attributes.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortTest.test_order_by_multiple_asc--crossover with--dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py/FormGenerator.create_fields