def it_should_raise_NotImplementedError() -> None: with pytest.raises(NotImplementedError): a = MainArguments("some/path", DbEngine.MSSQL, LOG_LEVELS[0], "server", "database", 0) a.engine = "PostgreSQL" a.build_mssql_adapter_with_integrated_security() a.get_db_operations_adapter()
def it_should_raise_NotImplementedError() -> None: with pytest.raises(NotImplementedError): a = MainArguments("some/path", DbEngine.MSSQL, LOG_LEVELS[0]) a.set_connection_string("server", None, "database", "username", "password") a.engine = "PostgreSQL" a.get_db_operations_adapter()