openstack-python-openstackc.../openstackclient/tests/network
Michael McCune b33ee3daf6 remove assert in favor an if/else
the assert usage in the NonNegativeAction has the potential to allow
unexpected behavior when the python is byte-compiled with optimization
turned on.

Changes
* remove assert in favor of if/else in NonNegativeAction class
* add type specifier to parser arguments for non-negative actions
* correct tests for new int based values

Change-Id: I093e7440b8beff4f179e2c4ed81daff82704c40e
Closes-Bug: #1576375
2016-05-02 15:11:45 -04:00
..
v2 remove assert in favor an if/else 2016-05-02 15:11:45 -04:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
test_common.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00