mirror of
https://github.com/getredash/redash.git
synced 2026-03-23 13:00:10 -04:00
10 lines
267 B
Python
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."
|