diff options
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/framework.py b/test/framework.py index aa4f2fdf8fc..e1f3ba54b57 100644 --- a/test/framework.py +++ b/test/framework.py @@ -278,6 +278,8 @@ class VppTestCase(unittest.TestCase): def setUp(self): """ Clear trace before running each test""" + if self.vpp_dead: + raise Exception("VPP is dead when setting up the test") self.vapi.cli("clear trace") # store the test instance inside the test class - so that objects # holding the class can access instance methods (like assertEqual) |