diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_contentview.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_contentview.py b/test/test_contentview.py index 97608520..68272fca 100644 --- a/test/test_contentview.py +++ b/test/test_contentview.py @@ -210,6 +210,19 @@ Larry assert "decoded gzip" in r[0] assert "Raw" in r[0] + def test_add_cv(self): + class TestContentView(cv.View): + name = "test" + + tcv = TestContentView() + cv.add(tcv) + + tutils.raises( + ContentViewException, + cv.add, + tcv + ) + if pyamf: def test_view_amf_request(): |