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
This commit is contained in:
parent
3a989e1bd5
commit
e66cee12c8
@ -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…
Reference in New Issue
Block a user