commit 91bc5d52f289b6272ed139ad6bd02711679af9fa
Author: Radek Pazdera <rpazdera(a)redhat.com>
Date: Thu Apr 18 19:51:49 2013 +0200
NetTestCommand: Adding get_type() method
This commit adds the method get_type() to the NetTestCommand class for
accessing the type of the command in question.
Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
lnst/Common/NetTestCommand.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lnst/Common/NetTestCommand.py b/lnst/Common/NetTestCommand.py
index 57a9350..208e391 100644
--- a/lnst/Common/NetTestCommand.py
+++ b/lnst/Common/NetTestCommand.py
@@ -167,6 +167,9 @@ class NetTestCommand:
def get_connection_pipe(self):
return self._connection_pipe
+ def get_type(self):
+ return self._command["type"]
+
class NetTestCommandContext:
def __init__(self):
self._dict = {}
Show replies by date