From e66cee12c88ff9957b263a834ab47e31a3e86b6f Mon Sep 17 00:00:00 2001 From: rladntjr4 Date: Sat, 26 Aug 2023 18:41:39 +0900 Subject: [PATCH] Unused param in stack unit test This FAKE parameter only used in class Resource __init__ function by '_syncronized' positional argument. it could be misunderstood so i delete it. Change-Id: I8e3bac6730de618a035eccc485d445e083a90079 --- openstack/tests/unit/orchestration/v1/test_stack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack/tests/unit/orchestration/v1/test_stack.py b/openstack/tests/unit/orchestration/v1/test_stack.py index c1a35c661..7ac4fef96 100644 --- a/openstack/tests/unit/orchestration/v1/test_stack.py +++ b/openstack/tests/unit/orchestration/v1/test_stack.py @@ -181,7 +181,7 @@ class TestStack(base.TestCase): @mock.patch.object(resource.Resource, 'create') def test_create(self, mock_create): sess = mock.Mock() - sot = stack.Stack(FAKE) + sot = stack.Stack() res = sot.create(sess) @@ -193,7 +193,7 @@ class TestStack(base.TestCase): @mock.patch.object(resource.Resource, 'commit') def test_commit(self, mock_commit): sess = mock.Mock() - sot = stack.Stack(FAKE) + sot = stack.Stack() res = sot.commit(sess)