2023-05-20 23:59:47 +02:00
Index: oci-python-sdk-2.102.0/tests/unit/test_basic_api_calls.py
===================================================================
--- oci-python-sdk-2.102.0.orig/tests/unit/test_basic_api_calls.py
+++ oci-python-sdk-2.102.0/tests/unit/test_basic_api_calls.py
2020-07-14 13:57:23 +02:00
@@ -5,7 +5,7 @@
2020-02-07 13:37:53 +01:00
import oci
2020-01-29 22:39:52 +01:00
-def test_identity_list_users(identity, config):
+def test_identity_list_users(config, identity):
response = identity.list_users(config["tenancy"])
assert response is not None
2023-05-20 23:59:47 +02:00
@@ -31,7 +31,7 @@ def test_vcn_list_instances(compute, con
2020-01-29 22:39:52 +01:00
assert response.request_id is not None
-def test_limit(identity, config):
+def test_limit(config, identity):
response = identity.list_users(config["tenancy"], limit=1)
assert response is not None
2023-05-20 23:59:47 +02:00
Index: oci-python-sdk-2.102.0/tests/unit/test_waiters.py
===================================================================
--- oci-python-sdk-2.102.0.orig/tests/unit/test_waiters.py
+++ oci-python-sdk-2.102.0/tests/unit/test_waiters.py
@@ -112,7 +112,7 @@ def test_wait_multiple_states(virtual_ne
2020-01-29 22:39:52 +01:00
assert total_time < 60 * 5
-def test_invalid_operation(identity, config):
+def test_invalid_operation(config, identity):
# Create User
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
2023-05-20 23:59:47 +02:00
@@ -135,7 +135,7 @@ def test_invalid_operation(identity, con
2020-01-29 22:39:52 +01:00
oci.wait_until(identity, response, 'not a real property', 'test')
-def test_already_in_state(identity, config):
+def test_already_in_state(config, identity):
description = 'test user'
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
2023-05-20 23:59:47 +02:00
@@ -155,7 +155,7 @@ def test_already_in_state(identity, conf
2020-01-29 22:39:52 +01:00
identity.delete_user(user_id)
-def test_wait_time_exceeded(identity, config):
+def test_wait_time_exceeded(config, identity):
description = 'test user'
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
2023-05-20 23:59:47 +02:00
@@ -182,7 +182,7 @@ def test_property_and_eval_function_prov
2020-07-14 13:57:23 +02:00
assert str(ve.value) == 'Invalid wait_until configuration - can not provide both evaluate_response function and property argument, only one should be specified'
2020-01-29 22:39:52 +01:00
-def test_eval_function_lambda(identity, config):
+def test_eval_function_lambda(config, identity):
user_id = None
try:
description = 'test user'
2023-05-20 23:59:47 +02:00
@@ -206,7 +206,7 @@ def test_eval_function_lambda(identity,
2020-01-29 22:39:52 +01:00
identity.delete_user(user_id)
-def test_eval_function_func_ref(identity, config):
+def test_eval_function_func_ref(config, identity):
user_id = None
try:
description = 'test user'