[events] add tests for ErrorEvent event types
diff --git a/tests/sentry/eventtypes/__init__.py b/tests/sentry/eventtypes/__init__.py
new file mode 100644
index 0000000000000..c3961685ab8de
--- /dev/null
+++ b/tests/sentry/eventtypes/__init__.py
@@ -0,0 +1 @@
+from __future__ import absolute_import
diff --git a/tests/sentry/eventtypes/test_error.py b/tests/sentry/eventtypes/test_error.py
new file mode 100644
index 0000000000000..b4d8108df37f6
--- /dev/null
+++ b/tests/sentry/eventtypes/test_error.py
@@ -0,0 +1,21 @@
+from __future__ import absolute_import
+
+from sentry.eventtypes import ErrorEvent
+from sentry.testutils import TestCase
+
+
+class ErrorEventTest(TestCase):
+    def test_to_string_none_value(self):
+        inst = ErrorEvent({})
+        result = inst.to_string({'type': 'Error', 'value': None})
+        assert result == 'Error'
+
+    def test_to_string_eliminates_values_with_newline(self):
+        inst = ErrorEvent({})
+        result = inst.to_string({'type': 'Error', 'value': 'foo\nbar'})
+        assert result == 'Error: foo'
+
+    def test_to_string_handles_empty_value(self):
+        inst = ErrorEvent({})
+        result = inst.to_string({'type': 'Error', 'value': ''})
+        assert result == 'Error'
