We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c44fac commit 23b3336Copy full SHA for 23b3336
tests/test_exporters.py
@@ -90,6 +90,10 @@ class PythonItemExporterTest(BaseItemExporterTest):
90
def _get_exporter(self, **kwargs):
91
return PythonItemExporter(binary=False, **kwargs)
92
93
+ def test_invalid_option(self):
94
+ with self.assertRaisesRegexp(TypeError, "Unexpected options: invalid_option"):
95
+ PythonItemExporter(invalid_option='something')
96
+
97
def test_nested_item(self):
98
i1 = TestItem(name=u'Joseph', age='22')
99
i2 = dict(name=u'Maria', age=i1)
0 commit comments