sql-mock
sql-mock copied to clipboard
A Python library to test your SQL models using mocked input data
Context: My team are using Clickhouse, and integrate sql-mock into it. Problem: While we are able to support most column types, I am currently writing a custom object to handle...
When I run `assert_cte_equal` I have to define all downstream tables even if they are not needed. I think this is just an issue in the checks not an actual...
When using the library the following I thought of the following change. **Problem:** Currently the assertion to check if the data is correct is within the table_mocks.py when for a...
Your docs say the user and password need to be set as environment variables. SQL_MOCK_SNOWFLAKE_ACCOUNT: Your snowflake account SQL_MOCK_SNOWFLAKE_USER: The name of your Snowflake user SQL_MOCK_SNOWFLAKE_PASSWORD: The password for your...
Hello sql-mock maintainers, I am currently developing a Python package that provides core functionalities for storing data in a MariaDB database. For testing my package's database layer, I need to...