fix: Move decorator out of class definition since it is static

This patch fixes a pylint error in one of the functional tests.

Change-Id: Ie90fb475f0861445d367e65ab38f8a2555c1a0ed
Merge "fix: Move decorator out of class definition since it is static"