8687.15.15
by Karl Fogel
Add the copyright header block to files under lib/lp/bugs/. |
1 |
# Copyright 2009 Canonical Ltd. This software is licensed under the
|
2 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
|
8224.2.10
by Bjorn Tillenius
Add the beginning of a test, which doesn't do anything useful at the moment. |
3 |
|
4 |
import unittest |
|
5 |
||
6 |
from canonical.launchpad.testing.systemdocs import ( |
|
11403.1.4
by Henning Eggers
Reformatted imports using format-imports script r32. |
7 |
LayeredDocFileSuite, |
8 |
setUp, |
|
9 |
tearDown, |
|
10 |
)
|
|
11666.3.5
by Curtis Hovey
Import layers from canonical.testing.layers. |
11 |
from canonical.testing.layers import LaunchpadFunctionalLayer |
8224.2.10
by Bjorn Tillenius
Add the beginning of a test, which doesn't do anything useful at the moment. |
12 |
|
13 |
||
14 |
def test_suite(): |
|
15 |
suite = unittest.TestSuite() |
|
16 |
suite.addTest(LayeredDocFileSuite( |
|
17 |
'bug-portlet-subscribers-content.txt', setUp=setUp, tearDown=tearDown, |
|
18 |
layer=LaunchpadFunctionalLayer)) |
|
19 |
return suite |
|
20 |
||
21 |
||
22 |
if __name__ == '__main__': |
|
23 |
unittest.TextTestRunner().run(test_suite()) |