[
https://issues.apache.org/jira/browse/CLOUDSTACK-9304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15191001#comment-15191001
]
ASF GitHub Bot commented on CLOUDSTACK-9304:
--------------------------------------------
Github user srikanteswartalluri commented on the pull request:
https://github.com/apache/cloudstack/pull/1431#issuecomment-195391894
@sneeladh @shivsg Thanks for adding the tests, can you please run your
code through pyflakes, pep8 and fix them ?
$ pyflakes *.py
nuageTestCase.py:52: 'attr' imported but unused
nuageTestCase.py:324: undefined name 'startVirtualMachine'
nuageTestCase.py:328: undefined name 'FAIL'
nuageTestCase.py:335: undefined name 'stopVirtualMachine'
nuageTestCase.py:341: undefined name 'FAIL'
test_nuage_password_reset.py:21: 'VirtualMachine' imported but unused
test_nuage_password_reset.py:21: 'PublicIPAddress' imported but unused
test_nuage_password_reset.py:26: 'createTemplate' imported but unused
test_nuage_password_reset.py:26: 'listVolumes' imported but unused
test_nuage_password_reset.py:64: undefined name 'cleanup_resources'
test_nuage_password_reset.py:72: undefined name 'list_volumes'
test_nuage_password_reset.py:84: undefined name 'Template'
test_nuage_password_reset.py:118: local variable 'vm_public_ip' is assigned
to but never used
test_nuage_password_reset.py:217: undefined name 'startVirtualMachine'
> Add nuagevsp userdata testcase (Cloudstack-9095) & Refactor existing testcases
> ------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9304
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9304
> Project: CloudStack
> Issue Type: Task
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Reporter: Sowmya Neeladhuri
> Fix For: 4.9.0
>
>
> 1. Created folder / test / integration / plugins / nuagevsp
> 2. Moved test_nuage_vpc_network.py , test_nuage_vsp.py from / test /
> integration / component / to---> / test / integration / plugins / nuagevsp/
> 3. Added new testcase test_nuage_password_reset.py (Cloudstack-9095)
> 4. Added Nuage class in / tools / marvin / marvin / lib / base.py
> 5. Added services in / tools / marvin / marvin / config / test_data.py
>
> results:
> test_01_UserDataPasswordReset
> (nuagevsp.test_nuage_password_reset.TestNuagePasswordReset) ... === TestName:
> test_01_UserDataPasswordReset | Status : SUCCESS ===
> ok
> Test Basic VPC Network Functionality with NuageVsp network Plugin ... ===
> TestName: test_nuage_vpc_network | Status : SUCCESS ===
> ok
> Test NuageVsp network plugin with basic Isolated Network functionality ...
> === TestName: test_nuage_vsp | Status : SUCCESS ===
> ok
> ----------------------------------------------------------------------
> XML: /root/report_xunit.xml
> ----------------------------------------------------------------------
> Ran 3 tests in 2406.256s
> OK
> ~
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)