summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/tests')
-rw-r--r--repoze/bfg/tests/test_zcml.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_zcml.py b/repoze/bfg/tests/test_zcml.py
index 875628f5f..a8eec3d48 100644
--- a/repoze/bfg/tests/test_zcml.py
+++ b/repoze/bfg/tests/test_zcml.py
@@ -864,12 +864,14 @@ class TestResourceDirective(unittest.TestCase):
def test_override_directory_with_file(self):
from zope.configuration.exceptions import ConfigurationError
context = DummyContext()
- self.assertRaises(ConfigurationError, self._callFUT, context, 'a/', 'a')
+ self.assertRaises(ConfigurationError, self._callFUT, context,
+ 'a:foo/', 'a:foo.pt')
def test_override_file_with_directory(self):
from zope.configuration.exceptions import ConfigurationError
context = DummyContext()
- self.assertRaises(ConfigurationError, self._callFUT, context, 'a', 'a/')
+ self.assertRaises(ConfigurationError, self._callFUT, context,
+ 'a:foo.pt', 'a:foo/')
def test_no_colons(self):
from repoze.bfg.zcml import _override