python-oci-sdk/pytest-740.patch
Daniel Garcia 6e29fd4fb8 - Add pytest-740.patch to fix compatibility issues with pytest 7.4.0
gh#oracle/oci-python-sdk#566
- Update to version 2.110.0
  - Support for backup retention on autonomous database create operations in the Database service
  - Support for exclude tables for replication in the Database Migration service
  - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service
  - Support for limiting networking diagram ingestion in the Networking Monitoring service
  - Support for new operations for deployment upgrades in the GoldenGate service
  - Support for getting model type information and base model versions while creating language custom models in the AI Language service
  - Support for support field in class metric in the AI Language service
  - Support for Compute Cloud at Customer resource type in the Operator Access Control service
  - Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service
  - Property ipv6_cidr_block is removed from models Vcn and CreateVcnDetails in the Networking Monitoring service
  - Property ipv6_public_cidr_block is removed from models Vcn and Subnet in the Networking Monitoring service
  - Property is_internet_access_allowed is removed from models UpdateIpv6Details, Ipv6 and CreateIpv6Details in the Networking Monitoring service
  - Property public_ip_address is removed from model Ipv6 in the Networking Monitoring service
  - Support for retries by default on operations of the Operator Access Control service
- 2.109.0
  - Support for the Exadata Fleet Update service
  - Support for REST-based log collection, multi-conditional labels,
    and collection properties in the Logging Analytics service
  - Support for Kubernetes cluster credential rotation in the
    Container Engine for Kubernetes service
  - Support for zero-downtime features in the Fusion Apps as a Service
    service
  - Support for news reports in the Operations Insights service
  - Allowed value ACCELERATION_MAINTENANCE was removed from the
    property task_type in the models StandardTask,
    ScheduledTaskSummary and ScheduledTask in the Logging Analytics
    service

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=111
2023-08-09 10:34:34 +00:00

23 lines
912 B
Diff

Index: oci-python-sdk-2.109.0/tests/conftest.py
===================================================================
--- oci-python-sdk-2.109.0.orig/tests/conftest.py
+++ oci-python-sdk-2.109.0/tests/conftest.py
@@ -13,7 +13,7 @@ from . import test_config_container
def pytest_addoption(parser):
- parser.addoption("--config-file", action="store", help="location of the config file",
+ parser.addoption("--config", action="store", help="location of the config file",
default=get_resource_path('config'))
parser.addoption("--config-profile", action="store",
help="profile to use from the config file",
@@ -30,7 +30,7 @@ def pytest_configure(config):
@pytest.fixture(scope="session")
def config_file(request):
- return request.config.getoption("--config-file")
+ return request.config.getoption("--config")
@pytest.fixture(scope="session")