summaryrefslogtreecommitdiff
path: root/repoze/bfg/tests/test_path.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-27 08:28:45 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-27 08:28:45 +0000
commit45d08c56ea330583a472b4d2808262a634fa99f1 (patch)
treedab7e4abe9439cc05886bf2dac688995b3ead1b9 /repoze/bfg/tests/test_path.py
parent82c9a232036b696d38b64c95787f0812d777e112 (diff)
downloadpyramid-45d08c56ea330583a472b4d2808262a634fa99f1.tar.gz
pyramid-45d08c56ea330583a472b4d2808262a634fa99f1.tar.bz2
pyramid-45d08c56ea330583a472b4d2808262a634fa99f1.zip
Coverage.
Remove set_security_policies configurator API method.
Diffstat (limited to 'repoze/bfg/tests/test_path.py')
-rw-r--r--repoze/bfg/tests/test_path.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/repoze/bfg/tests/test_path.py b/repoze/bfg/tests/test_path.py
index a6ff94327..8522eb387 100644
--- a/repoze/bfg/tests/test_path.py
+++ b/repoze/bfg/tests/test_path.py
@@ -129,6 +129,10 @@ class TestPackageName(unittest.TestCase):
module = DummyPackageOrModule(test_path)
result = self._callFUT(module)
self.assertEqual(result, 'repoze.bfg.tests')
+
+ def test_it_None(self):
+ result = self._callFUT(None)
+ self.assertEqual(result, '__main__')
class DummyPackageOrModule:
def __init__(self, real_package_or_module, raise_exc=None):