summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/console/trex_tui.py
diff options
context:
space:
mode:
authorDan Klein <danklein10@gmail.com>2015-12-16 08:53:08 +0200
committerDan Klein <danklein10@gmail.com>2015-12-16 08:53:08 +0200
commita7967979b47845a1736e734c1c16f5929ae6fd48 (patch)
treeaa7b22b5ad77ee633ce0a6484b7193287ce5ddef /scripts/automation/trex_control_plane/console/trex_tui.py
parent7b1796d823b38f7c8c801e19c51a4044bc39b17c (diff)
cleaned the code a little, added load_packet_from_pcap into packet builder functionality.
Diffstat (limited to 'scripts/automation/trex_control_plane/console/trex_tui.py')
-rw-r--r--scripts/automation/trex_control_plane/console/trex_tui.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/console/trex_tui.py b/scripts/automation/trex_control_plane/console/trex_tui.py
index 6b0aa50a..febe62f4 100644
--- a/scripts/automation/trex_control_plane/console/trex_tui.py
+++ b/scripts/automation/trex_control_plane/console/trex_tui.py
@@ -32,12 +32,11 @@ class TrexTUIPanel(object):
self.name = name
self.stateless_client = mng.stateless_client
-
def show (self):
- raise Exception("must implement this")
+ raise NotImplementedError("must implement this")
def get_key_actions (self):
- raise Exception("must implement this")
+ raise NotImplementedError("must implement this")
def get_name (self):
return self.name