def test_get_fields(): assert (todo.get_fields('new') == ['title', 'description', 'level']) print "ok - test_get_fields"