Last active
December 16, 2015 19:30
-
-
Save kenperkins/5485788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> pkgcloud@0.6.15 test /Users/kenn5998/src/pkgcloud | |
> make test | |
pkgcloud/azure/databases | |
the pkgcloud azure db client | |
◦ the create() method with correct options should respond correctly: [2K[0G ✓ the create() method with correct options should respond correctly | |
◦ the create() method with no options should error: [2K[0G ✓ the create() method with no options should error | |
◦ the create() method with invalid options should error: [2K[0G ✓ the create() method with invalid options should error | |
◦ the list() method with correct options should respond correctly: [2K[0G ✓ the list() method with correct options should respond correctly | |
◦ the remove() method with correct options should respond correctly: [2K[0G ✓ the remove() method with correct options should respond correctly | |
◦ the remove() method with no options should error: [2K[0G ✓ the remove() method with no options should error | |
pkgcloud/core/base/client | |
The pkgcloud base client request method | |
◦ with a wrong request with a cb: [2K[0G ✓ with a wrong request with a cb | |
◦ with a wrong request without a cb: [2K[0G ✓ with a wrong request without a cb | |
◦ the before filters throwing an error with a callback should return the error on the cb: [2K[0G ✓ the before filters throwing an error with a callback should return the error on the cb | |
◦ the before filters throwing an error without a callback should return the error on the EE: [2K[0G ✓ the before filters throwing an error without a callback should return the error on the EE | |
pkgcloud/common/compute/base [rackspace] | |
◦ the getVersion() method with no arguments should return the version: [2K[0G ✓ the getVersion() method with no arguments should return the version | |
◦ the getFlavors() method should return a list of flavors: [2K[0G ✓ the getFlavors() method should return a list of flavors | |
◦ the getImages() method should return a list of images: [2K[0G ✓ the getImages() method should return a list of images | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
pkgcloud/common/compute/base [openstack] | |
◦ the getVersion() method with no arguments should return the version: [2K[0G ✓ the getVersion() method with no arguments should return the version | |
◦ the getFlavors() method should return a list of flavors: [2K[0G ✓ the getFlavors() method should return a list of flavors | |
◦ the getImages() method should return a list of images: [2K[0G ✓ the getImages() method should return a list of images | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
pkgcloud/common/compute/base [joyent] | |
◦ the getVersion() method with no arguments should return the version: [2K[0G ✓ the getVersion() method with no arguments should return the version | |
◦ the getFlavors() method should return a list of flavors: [2K[0G ✓ the getFlavors() method should return a list of flavors | |
◦ the getImages() method should return a list of images: [2K[0G ✓ the getImages() method should return a list of images | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
pkgcloud/common/compute/base [amazon] | |
◦ the getVersion() method with no arguments should return the version: [2K[0G ✓ the getVersion() method with no arguments should return the version | |
◦ the getFlavors() method should return a list of flavors: [2K[0G ✓ the getFlavors() method should return a list of flavors | |
◦ the getImages() method should return a list of images: [2K[0G ✓ the getImages() method should return a list of images | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server (55ms) | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
pkgcloud/common/compute/base [azure] | |
◦ the getVersion() method with no arguments should return the version: [2K[0G ✓ the getVersion() method with no arguments should return the version | |
◦ the getFlavors() method should return a list of flavors: [2K[0G ✓ the getFlavors() method should return a list of flavors | |
◦ the getImages() method should return a list of images: [2K[0G ✓ the getImages() method should return a list of images | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server (58ms) | |
◦ the setWait() method waiting for a server to be operational should return a running server: [2K[0G ✓ the setWait() method waiting for a server to be operational should return a running server | |
pkgcloud/common/compute/server [rackspace] | |
◦ the getImages() function should return a list of images: [2K[0G ✓ the getImages() function should return a list of images | |
◦ the getFlavors() function should return a list of flavors: [2K[0G ✓ the getFlavors() function should return a list of flavors | |
◦ the createServer() method with image and flavor should create a server: [2K[0G ✓ the createServer() method with image and flavor should create a server | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
- the getServer() method should get a server instance | |
- the server.rebootServer() method should restart a server instance | |
- the destroyServer() method should delete a server instance | |
pkgcloud/common/compute/server [openstack] | |
◦ the getImages() function should return a list of images: [2K[0G ✓ the getImages() function should return a list of images | |
◦ the getFlavors() function should return a list of flavors: [2K[0G ✓ the getFlavors() function should return a list of flavors | |
◦ the createServer() method with image and flavor should create a server: [2K[0G ✓ the createServer() method with image and flavor should create a server | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
- the getServer() method should get a server instance | |
- the server.rebootServer() method should restart a server instance | |
- the destroyServer() method should delete a server instance | |
pkgcloud/common/compute/server [joyent] | |
◦ the getImages() function should return a list of images: [2K[0G ✓ the getImages() function should return a list of images | |
◦ the getFlavors() function should return a list of flavors: [2K[0G ✓ the getFlavors() function should return a list of flavors | |
◦ the createServer() method with image and flavor should create a server: [2K[0G ✓ the createServer() method with image and flavor should create a server | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
- the getServer() method should get a server instance | |
- the server.rebootServer() method should restart a server instance | |
- the destroyServer() method should delete a server instance | |
pkgcloud/common/compute/server [amazon] | |
◦ the getImages() function should return a list of images: [2K[0G ✓ the getImages() function should return a list of images | |
◦ the getFlavors() function should return a list of flavors: [2K[0G ✓ the getFlavors() function should return a list of flavors | |
◦ the createServer() method with image and flavor should create a server: [2K[0G ✓ the createServer() method with image and flavor should create a server | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
- the getServer() method should get a server instance | |
- the server.rebootServer() method should restart a server instance | |
- the destroyServer() method should delete a server instance | |
pkgcloud/common/compute/server [azure] | |
◦ the getImages() function should return a list of images: [2K[0G ✓ the getImages() function should return a list of images | |
◦ the getFlavors() function should return a list of flavors: [2K[0G ✓ the getFlavors() function should return a list of flavors | |
◦ the createServer() method with image and flavor should create a server: [2K[0G ✓ the createServer() method with image and flavor should create a server (41ms) | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
◦ the getServers() method should return a list of servers: [2K[0G ✓ the getServers() method should return a list of servers | |
- the getServer() method should get a server instance | |
- the server.rebootServer() method should restart a server instance | |
- the destroyServer() method should delete a server instance | |
pkgcloud/common/storage/base [rackspace] | |
◦ the createContainer() method should return newly created container: [2K[0G ✓ the createContainer() method should return newly created container | |
pkgcloud/common/storage/base [amazon] | |
◦ the createContainer() method should return newly created container: [2K[0G ✓ the createContainer() method should return newly created container | |
pkgcloud/common/storage/base [azure] | |
◦ the createContainer() method should return newly created container: [2K[0G ✓ the createContainer() method should return newly created container | |
pkgcloud/rackspace/compute/authentication | |
The pkgcloud Rackspace Compute client | |
◦ should have core methods defined: [2K[0G ✓ should have core methods defined | |
◦ the getVersion() method should return the proper version: [2K[0G ✓ the getVersion() method should return the proper version | |
the auth() method with a valid username and api key | |
◦ should respond with 200 and appropriate info: [2K[0G ✓ should respond with 200 and appropriate info | |
◦ should update the config with appropriate urls: [2K[0G ✓ should update the config with appropriate urls | |
◦ the getLimits() method should return the proper limits: [2K[0G ✓ the getLimits() method should return the proper limits | |
the auth() method with an invalid username and api key | |
◦ should respond with Error code 401: [2K[0G ✓ should respond with Error code 401 | |
pkgcloud/rackspace/compute/images | |
The pkgcloud Rackspace Compute client | |
◦ the createImage() method with a serverId should create a new image: [2K[0G ✓ the createImage() method with a serverId should create a new image | |
pkgcloud/rackspace/database/authentication | |
The pkgcloud Rackspace Database client | |
◦ should have core methods defined: [2K[0G ✓ should have core methods defined | |
◦ the getVersion() method should return the proper version: [2K[0G ✓ the getVersion() method should return the proper version | |
the auth() method with a valid username and api key | |
◦ should respond with 200 and appropriate info: [2K[0G ✓ should respond with 200 and appropriate info | |
◦ should respond with a token: [2K[0G ✓ should respond with a token | |
◦ should update the config with appropriate urls: [2K[0G ✓ should update the config with appropriate urls | |
the auth() method with an invalid username and api key | |
◦ should respond with Error code 401: [2K[0G ✓ should respond with Error code 401 | |
pkgcloud/rackspace/databases/databases | |
The pkgcloud Rackspace Database client | |
◦ the createDatabases() method should respond correctly: [2K[0G ✓ the createDatabases() method should respond correctly | |
◦ create another database for pagination test should respond correctly: [2K[0G ✓ create another database for pagination test should respond correctly | |
◦ the create() method should respond correctly: [2K[0G ✓ the create() method should respond correctly | |
◦ the createDatabase() method with no name should get an error for name: [2K[0G ✓ the createDatabase() method with no name should get an error for name | |
◦ the createDatabase() method with no instance should get an error for instance: [2K[0G ✓ the createDatabase() method with no instance should get an error for instance | |
◦ the getDatabases() method should return a list of databases: [2K[0G ✓ the getDatabases() method should return a list of databases | |
◦ the getDatabases() method should return a list of databases with names: [2K[0G ✓ the getDatabases() method should return a list of databases with names | |
◦ the getDatabases() method with limit should respond one element: [2K[0G ✓ the getDatabases() method with limit should respond one element | |
◦ the getDatabases() method with limit should pass as third argument the offset mark: [2K[0G ✓ the getDatabases() method with limit should pass as third argument the offset mark | |
◦ the getDatabases() method with offset should respond less quantity: [2K[0G ✓ the getDatabases() method with offset should respond less quantity | |
◦ the getDatabases() method with limit and offset should respond just one result with no more next points: [2K[0G ✓ the getDatabases() method with limit and offset should respond just one result with no more next points | |
◦ the destroyDatabase() method with first db should respond correctly: [2K[0G ✓ the destroyDatabase() method with first db should respond correctly | |
◦ the destroyDatabase() method with last db should respond correctly: [2K[0G ✓ the destroyDatabase() method with last db should respond correctly | |
pkgcloud/rackspace/databases/errors | |
The pkgcloud Rackspace Database client | |
breaking the function | |
◦ createInstance() when no options should return an error: [2K[0G ✓ createInstance() when no options should return an error | |
◦ createInstance() with bad options should return an error: [2K[0G ✓ createInstance() with bad options should return an error | |
◦ createInstance() with no instance options should return an error: [2K[0G ✓ createInstance() with no instance options should return an error | |
◦ destroyInstance() with no instance should return an error: [2K[0G ✓ destroyInstance() with no instance should return an error | |
◦ getInstance() with no instance should return an error: [2K[0G ✓ getInstance() with no instance should return an error | |
◦ createDatabase() with no options should return an error: [2K[0G ✓ createDatabase() with no options should return an error | |
◦ createDatabase() with no instance should return an error: [2K[0G ✓ createDatabase() with no instance should return an error | |
◦ getDatabases() with no instance should return an error: [2K[0G ✓ getDatabases() with no instance should return an error | |
◦ destroyDatabase() with no options should return an error: [2K[0G ✓ destroyDatabase() with no options should return an error | |
◦ destroyDatabase() with no instance should return an error: [2K[0G ✓ destroyDatabase() with no instance should return an error | |
◦ createUser() with no options should return an error: [2K[0G ✓ createUser() with no options should return an error | |
◦ createUser() with empty objects should return an error: [2K[0G ✓ createUser() with empty objects should return an error | |
◦ createUser() with no db or instance should return an error: [2K[0G ✓ createUser() with no db or instance should return an error | |
◦ createUser() with no instance should return an error: [2K[0G ✓ createUser() with no instance should return an error | |
◦ getUsers() with no instance should return an error: [2K[0G ✓ getUsers() with no instance should return an error | |
◦ destroyUser() with no instance should return an error: [2K[0G ✓ destroyUser() with no instance should return an error | |
◦ destroyUser() with no user should return an error: [2K[0G ✓ destroyUser() with no user should return an error | |
◦ enableRoot() with no instance should return an error: [2K[0G ✓ enableRoot() with no instance should return an error | |
◦ rootEnabled() with no instance should return an error: [2K[0G ✓ rootEnabled() with no instance should return an error | |
pkgcloud/rackspace/databases/errors | |
The pkgcloud Rackspace Database client | |
◦ the getFlavors() method should return the list of flavors: [2K[0G ✓ the getFlavors() method should return the list of flavors | |
◦ the getFlavors() method should return the list of flavor with rackspace specific information: [2K[0G ✓ the getFlavors() method should return the list of flavor with rackspace specific information | |
◦ the getFlavor() method should return a valid flavor: [2K[0G ✓ the getFlavor() method should return a valid flavor | |
pkgcloud/rackspace/databases/instances | |
The pkgcloud Rackspace Database client | |
the create() method | |
◦ should return a valid instance: [2K[0G ✓ should return a valid instance | |
◦ should return the same name and flavor used: [2K[0G ✓ should return the same name and flavor used | |
the getInstances() method | |
without options | |
◦ should return the list of instances: [2K[0G ✓ should return the list of instances | |
◦ should valid instance each item in the list: [2K[0G ✓ should valid instance each item in the list | |
◦ should response with extra info: [2K[0G ✓ should response with extra info | |
◦ should have correct flavor: [2K[0G ✓ should have correct flavor | |
◦ should have correct links: [2K[0G ✓ should have correct links | |
◦ should have a null offset: [2K[0G ✓ should have a null offset | |
with limit | |
◦ should respond at least 2 elements: [2K[0G ✓ should respond at least 2 elements | |
◦ should pass as third argument the offset mark: [2K[0G ✓ should pass as third argument the offset mark | |
the destroyInstance() method | |
◦ should respond correctly: [2K[0G ✓ should respond correctly | |
the getInstance() method | |
◦ should response with details: [2K[0G ✓ should response with details | |
the getInstances() method | |
◦ with offset should respond less quantity: [2K[0G ✓ with offset should respond less quantity | |
◦ with limit and offset should respond just one result with more next points: [2K[0G ✓ with limit and offset should respond just one result with more next points | |
the setFlavor() method | |
◦ without instance and flavor parameters should get errors: [2K[0G ✓ without instance and flavor parameters should get errors | |
◦ without flavor parameter should get errors: [2K[0G ✓ without flavor parameter should get errors | |
◦ without instance parameter should get errors: [2K[0G ✓ without instance parameter should get errors | |
◦ with correct inputs should respond correctly: [2K[0G ✓ with correct inputs should respond correctly | |
the setVolumeSize() method | |
◦ without instance and size parameters should get errors: [2K[0G ✓ without instance and size parameters should get errors | |
◦ without size parameter should get errors: [2K[0G ✓ without size parameter should get errors | |
◦ without invalid size parameter should get errors: [2K[0G ✓ without invalid size parameter should get errors | |
◦ with correct inputs should respond correctly: [2K[0G ✓ with correct inputs should respond correctly | |
the create() method with errors | |
◦ should respond with errors: [2K[0G ✓ should respond with errors | |
◦ without flavor should respond with errors: [2K[0G ✓ without flavor should respond with errors | |
◦ with invalid size should respond with errors: [2K[0G ✓ with invalid size should respond with errors | |
the restartInstance() method | |
◦ with no instance should return error: [2K[0G ✓ with no instance should return error | |
◦ with valid instance should restart: [2K[0G ✓ with valid instance should restart | |
pkgcloud/rackspace/databases/users | |
The pkgcloud Rackspace Database client | |
◦ the createUser() method should respond correctly: [2K[0G ✓ the createUser() method should respond correctly | |
◦ create an other user for test pagination should response correctly: [2K[0G ✓ create an other user for test pagination should response correctly | |
◦ create multiple users in one request should response correctly: [2K[0G ✓ create multiple users in one request should response correctly | |
◦ create users with questionable characters should respond with error: [2K[0G ✓ create users with questionable characters should respond with error | |
◦ the getUsers() method should get the list of users: [2K[0G ✓ the getUsers() method should get the list of users | |
◦ the enableRoot() method should respond correctly: [2K[0G ✓ the enableRoot() method should respond correctly | |
◦ the enableRoot() method should respond correctly: [2K[0G ✓ the enableRoot() method should respond correctly | |
the getUsers() method | |
◦ with limit should respond with one element: [2K[0G ✓ with limit should respond with one element | |
◦ with limitshould pass as third argument the offset mark: [2K[0G ✓ with limitshould pass as third argument the offset mark | |
◦ with offset should respond less quantity: [2K[0G ✓ with offset should respond less quantity | |
◦ with limit and offset should responsd with just result with more next points: [2K[0G ✓ with limit and offset should responsd with just result with more next points | |
the destroyUsers() method | |
◦ should respond correctly: [2K[0G ✓ should respond correctly | |
◦ should destroy the user used for pagination: [2K[0G ✓ should destroy the user used for pagination | |
pkgcloud/rackspace/storage/authentication | |
The pkgcloud Rackspace Storage client | |
◦ should have core methods defined: [2K[0G ✓ should have core methods defined | |
the auth() method | |
with a valid user name and api key | |
◦ should respond with 204 and appropriate info: [2K[0G ✓ should respond with 204 and appropriate info | |
◦ should update the config with appropriate urls: [2K[0G ✓ should update the config with appropriate urls | |
with an invalid user name and api key shouldn't authenticate | |
◦ should respond with 401 unauthorized: [2K[0G ✓ should respond with 401 unauthorized | |
pkgcloud/redistogo/databases | |
The pkgcloud RedisToGo Database client | |
the create method() | |
◦ with correct options should respond correctly: [2K[0G ✓ with correct options should respond correctly | |
◦ with no options should respond with errors: [2K[0G ✓ with no options should respond with errors | |
the get() method | |
◦ with correct options should respond correctly: [2K[0G ✓ with correct options should respond correctly | |
◦ with options should respond with an error: [2K[0G ✓ with options should respond with an error | |
the remove() method | |
◦ with correct options should respond correctly: [2K[0G ✓ with correct options should respond correctly | |
◦ with options should respond with an error: [2K[0G ✓ with options should respond with an error | |
pkgcloud/amazon/groups | |
◦ add SecurityGroup should succeed: [2K[0G ✓ add SecurityGroup should succeed | |
◦ destroy SecurityGroup should succeed: [2K[0G ✓ destroy SecurityGroup should succeed | |
◦ list SecurityGroups should succeed: [2K[0G ✓ list SecurityGroups should succeed | |
◦ get SecurityGroup should succeed: [2K[0G ✓ get SecurityGroup should succeed | |
◦ add Rules should succeed: [2K[0G ✓ add Rules should succeed | |
◦ delete Rules should succeed: [2K[0G ✓ delete Rules should succeed | |
pkgcloud/amazon/keys | |
◦ add KeyPair should succeed: [2K[0G ✓ add KeyPair should succeed | |
◦ destroy KeyPair should succeed: [2K[0G ✓ destroy KeyPair should succeed | |
◦ list KeyPairs should succeed: [2K[0G ✓ list KeyPairs should succeed | |
◦ get KeyPair should succeed: [2K[0G ✓ get KeyPair should succeed | |
186 tests complete (819 ms) | |
15 tests pending | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment