Skip to content

Commit

Permalink
test_cparser unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed May 26, 2018
1 parent 907f63d commit 6d74a90
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/test_clparser.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import unittest

from wfuzz.ui.console.clparser import CLParser


class CLParserTest(unittest.TestCase):
def test_listplugins(self):
with self.assertRaises(SystemExit) as cm:
CLParser(['wfuzz', '-e', 'iterators']).parse_cl()

self.assertEqual(cm.exception.code, 0)


if __name__ == '__main__':
unittest.main()

0 comments on commit 6d74a90

Please sign in to comment.