Files
redash/tests/query_runner/test_python.py
2023-07-11 19:13:54 +10:00

10 lines
267 B
Python

from unittest import TestCase
from redash.query_runner.python import Python
class TestPython(TestCase):
def test_sorted_safe_builtins(self):
src = list(Python.safe_builtins)
assert src == sorted(src), "Python safe_builtins package not sorted."