Skip to content

Commit

Permalink
Merge pull request #3171 from vavuthu/fix_logging_use_in_conftest
Browse files Browse the repository at this point in the history
using logger instead of logging module
  • Loading branch information
petr-balogh authored Oct 19, 2020
2 parents d6b7b77 + c341d7e commit de8e546
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2596,9 +2596,10 @@ def factory(num_of_pvcs=1, pvc_size=100, project=None, access_mode="RWO", pool_t
for dc in dc_pods_res:
pod_obj = dc.result()
if create_rbd_block_rwx_pod:
logging.info(f"#### setting attribute pod_type since"
f" create_rbd_block_rwx_pod = {create_rbd_block_rwx_pod}"
)
log.info(
"#### setting attribute pod_type since "
f"create_rbd_block_rwx_pod = {create_rbd_block_rwx_pod}"
)
setattr(pod_obj, 'pod_type', 'rbd_block_rwx')
else:
setattr(pod_obj, 'pod_type', '')
Expand Down

0 comments on commit de8e546

Please sign in to comment.