Skip to content

Commit

Permalink
Merge branch 'balamuruhans-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
apahim committed Apr 25, 2016
2 parents 9ba8c6a + df88f14 commit 6073d2e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions generic/error_cleanup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#! /usr/bin/env python

from avocado import Test
from avocado import main


class error_cleanup(Test):
"""
Raise an exception during tearDown()
"""

def test(self):
pass

def tearDown(self):
self.error("Test a bug in tearDown()")


if __name__ == "__main__":
main()

0 comments on commit 6073d2e

Please sign in to comment.