summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-01 00:34:50 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-01 00:34:50 +0000
commit3052d0b41bd06314b0b1f1c78e9977b8174f637a (patch)
treea2417f93f52d8389525135987bbfad8ca8f115e1 /repoze/bfg/tests
parente1c3d96154c75335d3475f13a2bf7577840b2512 (diff)
downloadpyramid-3052d0b41bd06314b0b1f1c78e9977b8174f637a.tar.gz
pyramid-3052d0b41bd06314b0b1f1c78e9977b8174f637a.tar.bz2
pyramid-3052d0b41bd06314b0b1f1c78e9977b8174f637a.zip
- The ``repoze.bfg.functional`` module was renamed to
``repoze.bfg.compat``.
Diffstat (limited to 'repoze/bfg/tests')
-rw-r--r--repoze/bfg/tests/test_compat.py10
-rw-r--r--repoze/bfg/tests/test_view.py8
2 files changed, 10 insertions, 8 deletions
diff --git a/repoze/bfg/tests/test_compat.py b/repoze/bfg/tests/test_compat.py
new file mode 100644
index 000000000..cbee29654
--- /dev/null
+++ b/repoze/bfg/tests/test_compat.py
@@ -0,0 +1,10 @@
+import unittest
+
+class TestAll(unittest.TestCase):
+ def test_it(self):
+ from repoze.bfg.compat import all
+ self.assertEqual(all([True, True]), True)
+ self.assertEqual(all([False, False]), False)
+ self.assertEqual(all([False, True]), False)
+
+
diff --git a/repoze/bfg/tests/test_view.py b/repoze/bfg/tests/test_view.py
index 14923f5b8..80179e247 100644
--- a/repoze/bfg/tests/test_view.py
+++ b/repoze/bfg/tests/test_view.py
@@ -1613,14 +1613,6 @@ class TestDeriveView(unittest.TestCase):
inner_view, viewname='inner', wrapper_viewname='owrap')
result = self.assertRaises(ValueError, wrapped, None, request)
-class TestAll(unittest.TestCase):
- def test_it(self):
- from repoze.bfg.view import all
- self.assertEqual(all([True, True]), True)
- self.assertEqual(all([False, False]), False)
- self.assertEqual(all([False, True]), False)
-
-
class DummyContext:
pass