Code Review
/
integration
/
test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
80f31ef
)
Fix pep8 violations in test.py
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Mon, 16 Mar 2015 04:25:51 +0000
(
00:25
-0400)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Mon, 16 Mar 2015 04:25:51 +0000
(
00:25
-0400)
Change-Id: Id124d88391c7efa56100a65c9427a57c5b8b20ed
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
test/tools/OF_Test/test.py
patch
|
blob
|
history
diff --git
a/test/tools/OF_Test/test.py
b/test/tools/OF_Test/test.py
index 9b36f7a311c259efe6f68fbfdeb9779460ea3edb..ba7baf14ff2d818ebd629566088bf9673d80e87e 100644
(file)
--- a/
test/tools/OF_Test/test.py
+++ b/
test/tools/OF_Test/test.py
@@
-1,8
+1,8
@@
from xml.dom import minidom
-xmldoc
=
minidom.parse('./xmls/f1.xml')
-flow
=
xmldoc.childNodes[0]
-match
=
flow.childNodes[15]
+xmldoc
=
minidom.parse('./xmls/f1.xml')
+flow
=
xmldoc.childNodes[0]
+match
=
flow.childNodes[15]
ipv4dst = match.getElementsByTagName("ipv4-destination")
print ipv4dst[0].childNodes[0].data