@staticmethod
    def test_multiple_queries():
        query = 'SELECT 1; SELECT 2;'
        result = 'SELECT 1;\nSELECT 2;'
        eq_(SqlScript(query).sql(), result)
Tests that an allowed get works for a protected view.
dataset/ETHPy150Open coursera/dataduct/dataduct/database/sql/tests/test_sql_script.py/TestSqlScript.test_multiple_queries--crossover with--dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/permissions/tests/tests.py/TestRequests.test_allowed_request