Merge "Unused param in stack unit test"

This commit is contained in:
Zuul 2023-09-05 11:50:34 +00:00 committed by Gerrit Code Review
commit 636460d1f4

View File

@ -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)