mirror of https://github.com/apache/cloudstack.git
1. Reduce dependency on settings. (It should be able to run in any environment). 2. Simplify clean up by creating accounts in setup and deleting the account in teardown. 3. Check the list_XXX calls instead of querying the database. Currently the following tests work per the above logic: 1. test_vm_life_cycle.py 2. test_disk_offerings.py 3. test_service_offerings.py Rest are work in progress. |
||
|---|---|---|
| .. | ||
| pymysql | ||
| sandbox | ||
| testcase | ||
| unitTest | ||
| .project | ||
| .pydevproject | ||
| README | ||
| TestCaseExecuteEngine.py | ||
| asyncJobMgr.py | ||
| cloudstackConnection.py | ||
| cloudstackException.py | ||
| cloudstackTestCase.py | ||
| cloudstackTestClient.py | ||
| codegenerator.py | ||
| configGenerator.py | ||
| dbConnection.py | ||
| deployAndRun.py | ||
| deployDataCenter.py | ||
| jsonHelper.py | ||
| remoteSSHClient.py | ||
README
CloudStack Test Client 1. generate Cloudstack API python code from an API XML spec file python codegenerator.py -o where-to-put-the-cloudstack-api -s where-the-spec-file 1.5 Spec file is generated by ant build-apidocs -> generates commands.xml in dist 2. Facility it provides: 1. very handy cloudstack API python wrapper 2. support async job executing in parallel 3. remote ssh login/execute command 4. mysql query 3. sample code is under unitTest