test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/nvgre:Modify the syntax error.
@ 2019-08-13  5:21 zhu,shuai
  2019-08-21  9:40 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: zhu,shuai @ 2019-08-13  5:21 UTC (permalink / raw)
  To: dts; +Cc: wenhuix.zhu, zhu,shuai

Modify the syntax error.

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_nvgre.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py
index 62aac3a..d53a521 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -162,7 +162,7 @@ class NvgreTestConfig(object):
         """
         Return nvgre packet type
         """
-        if (self.nic in ["cavium_a063", "cavium_a064"]):
+        if nic in ["cavium_a063", "cavium_a064"]:
             if self.outer_ip_proto !=47:
                 if self.outer_l3_type == 'IPv4':
                     return 'L3_IPV4'
-- 
2.17.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-21  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13  5:21 [dts] [PATCH V2] tests/nvgre:Modify the syntax error zhu,shuai
2019-08-21  9:40 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).