def tearDown(self) -> None: postgres_conn_manager: PostgresConnManager = PostgresConnManager() postgres_conn_manager.query(f""" TRUNCATE users.users CASCADE; TRUNCATE users.users_pool CASCADE; TRUNCATE pool.pools CASCADE; """)
def __init__(self, **kwargs): """ Constructor for UserStatusData Args: **kwargs: Optional dependencies postgres_conn_manager (PostgresConnManager) """ self.__postgres_conn_manager: PostgresConnManager = kwargs.get( "postgres_conn_manager") or PostgresConnManager()
def __init__(self, **kwargs): """ Constructor for MigrationData Args: **kwargs: postgres_conn_manager (PostgresConnManager) """ self.__postgres_conn_manager: PostgresConnManager = kwargs.get( "postgres_conn_manager") or PostgresConnManager()