Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
348d462
)
Modify the code of scaling vnf
55/35355/1
author
fengyuanxing
<feng.yuanxing@zte.com.cn>
Tue, 13 Mar 2018 02:49:37 +0000
(10:49 +0800)
committer
fengyuanxing
<feng.yuanxing@zte.com.cn>
Tue, 13 Mar 2018 02:49:37 +0000
(10:49 +0800)
Change-Id: I39f0126d8abe694e7bdf91bd487c123dcb8efd22
Issue-ID: VFC-784
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
lcm/ns/tests/vnfs/tests.py
patch
|
blob
|
history
diff --git
a/lcm/ns/tests/vnfs/tests.py
b/lcm/ns/tests/vnfs/tests.py
index
9650ed4
..
4d4f84b
100644
(file)
--- a/
lcm/ns/tests/vnfs/tests.py
+++ b/
lcm/ns/tests/vnfs/tests.py
@@
-373,10
+373,7
@@
class TestScaleVnfViews(TestCase):
NFManualScaleService(self.nf_inst_id, req_data).run()
nsIns = NfInstModel.objects.filter(nfinstid=self.nf_inst_id)
- if nsIns:
- self.failUnlessEqual(1, 1)
- else:
- self.failUnlessEqual(1, 0)
+ self.assertIsNotNone(nsIns)
class TestHealVnfViews(TestCase):