803 Commits

Author SHA1 Message Date
Adam Gandelman
def5df2760 Fix shell tests for older prettytable versions.
Fix the shell tests so they pass for all supported prettytable
versions, as per requirements.txt (>=0.6,<0.8).

Fixes bug: #1185580.

Change-Id: I8dca23faa3c178494656ebc8088b6d1994e9869f
2013-05-29 14:22:53 -07:00
Emanuele Rocca
ff85bd4025 100% test coverage for security groups and rules
This patch achieves full test coverage for security_group and
security_group_rules by:

- Fixing the arguments used in test_invalid_parameters_create
- Testing the __str__ and delete methods of SecurityGroupRule
- Adding a test for the ___str__ method of SecurityGroup

Change-Id: I9cfbc68761f158754aa4b339238d29cc587c91e1
2013-05-29 10:18:01 +02:00
Monty Taylor
c34c371e96 Move tests into the novaclient package.
tests/__init__.py implies a package in the global namespace. These
tests are not global python tests, but rather tests for novaclient.

Change-Id: Ifeb8082aa010d15dddc9ae02e35589bc78ad48cc
2013-05-25 08:23:14 +02:00