summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kolbe <jk@gocept.com>2018-10-06 10:32:53 +0200
committerJeremy Kolbe <jk@gocept.com>2018-10-06 10:32:53 +0200
commite4f2326c5836d23fb7ac5852466d087153f1a762 (patch)
tree1f5ed1f2541de8efd7a5a578f5b7547793b6bc16
parenta1b72cc984791dc5a46e3cbf92910acc720b94ab (diff)
downloadzope-component-e4f2326c5836d23fb7ac5852466d087153f1a762.tar.gz
Fixed Tests
-rw-r--r--docs/zcml.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/zcml.rst b/docs/zcml.rst
index f5b4f63..18afc81 100644
--- a/docs/zcml.rst
+++ b/docs/zcml.rst
@@ -139,9 +139,8 @@ Of course, if no factory is provided at all, we will get an error:
... />''')
Traceback (most recent call last):
...
- ZopeXMLConfigurationError: File "<string>", line 4.2-8.8
- ValueError: No factory specified
-
+ ComponentConfigurationError: No factory specified
+ File "<string>", line 4.2-8.8
Declaring ``for``, ``provides`` and ``name`` in Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -311,8 +310,8 @@ Chained factories are not supported for multi-adapters, though:
... />''')
Traceback (most recent call last):
...
- ZopeXMLConfigurationError: File "<string>", line 4.2-11.8
- ValueError: Can't use multiple factories and multiple for
+ ComponentConfigurationError: Can't use multiple factories and multiple for
+ File "<string>", line 4.2-11.8
And neither for null-adapters:
@@ -328,8 +327,8 @@ And neither for null-adapters:
... />''')
Traceback (most recent call last):
...
- ZopeXMLConfigurationError: File "<string>", line 4.2-9.8
- ValueError: Can't use multiple factories and multiple for
+ ComponentConfigurationError: Can't use multiple factories and multiple for
+ File "<string>", line 4.2-9.8
Protected adapters
~~~~~~~~~~~~~~~~~~