import pytest from octopus.utils import mysql def test_get_export_all_data_sql(): """Test exception for getting sql for exporting all data from a table or view """ with pytest.raises(Exception): mysql.get_export_all_data_sql(None, '') with pytest.raises(Exception): mysql.get_export_all_data_sql(None, 'bla')