Permalink
Browse files

Update one test now that the error message has changed.

  • Loading branch information...
ralphbean committed Aug 27, 2013
1 parent 1ac6f43 commit c31f52732ed6cd7cbe8dce6fd0671253721c5062
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/test_params.py
@@ -1,3 +1,4 @@
from __future__ import print_function
from nose.tools import eq_
import tw2.core as twc, testapi
import six
@@ -86,4 +87,5 @@ class TestWidget(twc.Widget):
TestWidget.display()
assert False, "Should have raised an exception."
except ValueError as e:
eq_(str(e), "'some_param' is a required Parameter")
print(str(e))
assert(str(e).startswith("'some_param' is a required Parameter"))

0 comments on commit c31f527

Please sign in to comment.