@staticmethod
    def test_copy():
        script = SqlScript('SELECT 1;')
        script_new = script.copy()
        eq_(script.sql(), script_new.sql())

        # Check if it was a copy or the same object
        assert_not_equal(id(script), id(script_new))
Copy a sql script
dataset/ETHPy150Open coursera/dataduct/dataduct/database/sql/tests/test_sql_script.py/TestSqlScript.test_copy