Small changes in connection
[diaspy.git] / tests.py
index a45be30d5784e3af98a79fb2584f3a08ea9a8fd9..57fac8684e270a5e563ffa09dc1d482d5046cdca 100644 (file)
--- a/tests.py
+++ b/tests.py
@@ -114,7 +114,7 @@ class StreamTest(unittest.TestCase):
         stream = diaspy.streams.Stream(test_connection)
         try:
             stream.post(text=post_text, photo='test-image.png')
-        except (StreamError) as e:
+        except (diaspy.errors.StreamError) as e:
             warnings.warn('{0}')
         finally:
             pass