| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following changes were implemented:
- Delete unused imports and place used ones in the alphabetical order.
Imports are splitted into 3 groups: built-ins, third-parties and
local modules/libs.
- Make changes to support py3 in addition to py2.
- Minimize number of code lines keeping the same behaviour and improving
readability.
- Add possibility to get 'bound' (cls) methods using 'get_super_method'
staticmethod from base class. Before it was possible to call only
unbound (self) methods.
- Update 'test_add_brick.py' module as PoC for running base class bound
methods in both - py2 and py3. Now this module py2/3 compatible.
Change-Id: I1b66b3a91084b2487c26bec8763ab2b4e12ac482
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
While executing the test suit it was observerd that the test case
test_add_remove_brick was failing due to remains from the
test case test_add_brick_functionality.
Hence adding the code to clean all
the briks post test in test_add_brick.py.
Change-Id: Iace9e51582ab4fa1f0f184283e6205aa6140b4a2
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Worked on the following:
1. Removed redundant throwaway variables (ret, _, _)
2. More consistent exceptions
3. Added comments within code
4. Clarified Error messages in case of Assertion Errors
Change-Id: I8ca0acce848bd9a8a5d217b5a4e247590177154d
Signed-off-by: hadarsharon <hsharon@redhat.com>
|
|
Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
|