Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a volume has no name, it now shows the ID instead. I also added a fixture data that represents such a volume being in the system. Fixes bug #1012380 You can also now use truncate=i on DataTable Columns in order to have the value truncated if it goes beyond i characters. On top of this I fixed/made-clearer a bunch of the tests relating to volumes and instances. Please do NOT use deepcopy() of fixture data in tests any more, instead just create a new fixture for the data you want. Change-Id: If2f92b5d04b04f08f5cacca03f614fce5ea38702
- Loading branch information
John Postlethwait
committed
Jun 14, 2012
1 parent
2d03150
commit c17b06d
Showing
8 changed files
with
315 additions
and
209 deletions.
There are no files selected for viewing
330 changes: 203 additions & 127 deletions
330
horizon/dashboards/nova/instances_and_volumes/instances/tests.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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