~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/tests/test_project.py

  • Committer: Colin Watson
  • Date: 2011-08-19 00:25:11 UTC
  • mfrom: (7675.1045.728 db-devel)
  • mto: This revision was merged to the branch mainline in revision 13909.
  • Revision ID: cjwatson@canonical.com-20110819002511-0x8hrqs1ckiqk53g
merge db-devel

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
__metaclass__ = type
7
7
 
8
 
import unittest
9
 
 
10
8
from canonical.testing.layers import DatabaseFunctionalLayer
11
9
from lp.testing import TestCaseWithFactory
12
10
 
30
28
        # true for has_branches.
31
29
        self.factory.makeProductBranch(product=self.product)
32
30
        self.assertTrue(self.project.has_branches())
33
 
 
34
 
 
35
 
def test_suite():
36
 
    return unittest.TestLoader().loadTestsFromName(__name__)