diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-27 08:28:45 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-27 08:28:45 +0000 |
| commit | 45d08c56ea330583a472b4d2808262a634fa99f1 (patch) | |
| tree | dab7e4abe9439cc05886bf2dac688995b3ead1b9 /repoze/bfg/tests/test_path.py | |
| parent | 82c9a232036b696d38b64c95787f0812d777e112 (diff) | |
| download | pyramid-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.py | 4 |
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): |
