summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stanza_base.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_stanza_base.py b/tests/test_stanza_base.py
index 35fa5e99..55554aa9 100644
--- a/tests/test_stanza_base.py
+++ b/tests/test_stanza_base.py
@@ -68,13 +68,5 @@ class TestStanzaBase(SlixTest):
self.assertTrue(stanza['payload'] == [],
"Stanza reply did not empty stanza payload.")
- def testError(self):
- """Test marking a stanza as an error."""
- stanza = StanzaBase()
- stanza['type'] = 'get'
- stanza.error()
- self.assertTrue(stanza['type'] == 'error',
- "Stanza type is not 'error' after calling error()")
-
suite = unittest.TestLoader().loadTestsFromTestCase(TestStanzaBase)