Skip to content

Commit

Permalink
Fixed Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vernans committed Oct 6, 2018
1 parent a1b72cc commit e4f2326
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/zcml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -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:

Expand All @@ -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
~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit e4f2326

Please sign in to comment.