test: py: tests: Compare value instead of object

This patch corrects comparing value instead of comparing objects

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
T Karthik Reddy
2019-03-12 20:20:24 +05:30
committed by Michal Simek
parent ebf24fb076
commit 9eb4a87785
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ def zynq_aes_pre_commands(u_boot_console):
if not m:
pytest.skip('bootmode cannnot be determined')
bootmode=m.group(1)
if bootmode is "jtag":
if bootmode == "jtag":
pytest.skip('skipping due to jtag bootmode')
@pytest.mark.buildconfigspec('cmd_zynq_aes')

View File

@@ -47,7 +47,7 @@ def zynq_rsa_pre_commands(u_boot_console):
if not m:
pytest.skip('bootmode cannnot be determined')
bootmode=m.group(1)
if bootmode is "jtag":
if bootmode == "jtag":
pytest.skip('skipping due to jtag bootmode')
@pytest.mark.buildconfigspec('cmd_zynq_rsa')