diff --git a/tests/pfcwd/test_pfcwd_function.py b/tests/pfcwd/test_pfcwd_function.py index 6d7001b15dd..1d3b6f7e122 100644 --- a/tests/pfcwd/test_pfcwd_function.py +++ b/tests/pfcwd/test_pfcwd_function.py @@ -61,7 +61,7 @@ def isBufferInApplDb(asic): logger.info( "Buffer model is {}, buffer tables will be fetched from {}".format( PfcCmd.buffer_model or "not defined", - "APPL_DB" if PfcCmd.buffer_model else "CONFIG_DB" + "APPL_DB" if PfcCmd.buffer_model == "dynamic" else "CONFIG_DB" ) ) return PfcCmd.buffer_model == "dynamic"