1
##############################################################################
3
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
6
# This software is subject to the provisions of the Zope Public License,
7
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
8
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
9
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
11
# FOR A PARTICULAR PURPOSE.
13
##############################################################################
14
"""Test Basic Authentication Adapter
16
$Id: test_basicauthadapter.py 106799 2009-12-20 04:50:49Z fafhrd $
19
from zope.testing import doctest
21
def test_bbb_imports():
23
Let's check if original imports still work:
25
>>> import zope.app.security.basicauthadapter as old
26
>>> import zope.publisher.http as new
28
>>> old.BasicAuthAdapter is new.BasicAuthAdapter
34
return unittest.TestSuite((
35
doctest.DocTestSuite(),