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:
committed by
Michal Simek
parent
ebf24fb076
commit
9eb4a87785
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user