Merge "Unused param in stack unit test"
This commit is contained in:
commit
636460d1f4
@ -181,7 +181,7 @@ class TestStack(base.TestCase):
|
|||||||
@mock.patch.object(resource.Resource, 'create')
|
@mock.patch.object(resource.Resource, 'create')
|
||||||
def test_create(self, mock_create):
|
def test_create(self, mock_create):
|
||||||
sess = mock.Mock()
|
sess = mock.Mock()
|
||||||
sot = stack.Stack(FAKE)
|
sot = stack.Stack()
|
||||||
|
|
||||||
res = sot.create(sess)
|
res = sot.create(sess)
|
||||||
|
|
||||||
@ -193,7 +193,7 @@ class TestStack(base.TestCase):
|
|||||||
@mock.patch.object(resource.Resource, 'commit')
|
@mock.patch.object(resource.Resource, 'commit')
|
||||||
def test_commit(self, mock_commit):
|
def test_commit(self, mock_commit):
|
||||||
sess = mock.Mock()
|
sess = mock.Mock()
|
||||||
sot = stack.Stack(FAKE)
|
sot = stack.Stack()
|
||||||
|
|
||||||
res = sot.commit(sess)
|
res = sot.commit(sess)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user