@staticmethod
    def test_length():
        query = 'SELECT 1; SELECT 2;'
        result = 2
        eq_(len(SqlScript(query)), result)
Length of sql script
dataset/ETHPy150Open coursera/dataduct/dataduct/database/sql/tests/test_sql_script.py/TestSqlScript.test_length