1
# Copyright 2009 Canonical Ltd. This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
5
Tests to make sure that initZopeless works as expected.
8
from doctest import DocTestSuite
9
from canonical.lp import initZopeless
10
from canonical.testing.layers import ZopelessDatabaseLayer
13
def test_isZopeless():
15
>>> from canonical.lp import isZopeless
20
>>> tm = initZopeless(dbuser='launchpad')
32
doctests = DocTestSuite()
33
doctests.layer = ZopelessDatabaseLayer