Skip to content

Commit

Permalink
added test to verify raising ArgumentsExceptionArgumentsAreInvalid on…
Browse files Browse the repository at this point in the history
… line 107
  • Loading branch information
excellentingenuity committed Oct 22, 2014
1 parent 74da1cf commit 1504bbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion argumentsprocessor/tests/test_arguments_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ def test_init_object():

def test_arguments_processor():
temp_processor = ArgumentsProcessor(expected_arguments, supplied_arguments)
assert temp_processor.return_arguments == expected_return
assert temp_processor.return_arguments == expected_return

def test_arguments_are_invalid():
assert_raises(ArgumentsProcessorExceptionArgumentsAreInvalid, ArgumentsProcessor, expected_arguments, {'mode':'encrypt', 'data':''})

0 comments on commit 1504bbb

Please sign in to comment.