/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testsampler.py

  • Committer: Robert Collins
  • Date: 2005-10-19 10:11:57 UTC
  • mfrom: (1185.16.78)
  • mto: This revision was merged to the branch mainline in revision 1470.
  • Revision ID: robertc@robertcollins.net-20051019101157-17438d311e746b4f
mergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 Canonical Ltd
 
1
# Copyright (C) 2005 by Canonical Ltd
2
2
#   Authors: Robert Collins <robert.collins@canonical.com>
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
13
13
#
14
14
# You should have received a copy of the GNU General Public License
15
15
# along with this program; if not, write to the Free Software
16
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
 
18
18
"""Document what this test file is expecting to test here.
19
19
 
20
20
If you need more than one line, make the first line a good sentence on its
21
21
own and add more explanation here, like this.
22
22
 
23
 
Be sure to register your new test script in breezy/tests/__init__.py -
 
23
Be sure to register your new test script in bzrlib/selftest/__init__.py -
24
24
search for sampler in there.
25
25
"""
26
26
 
27
 
from breezy.tests import TestCaseInTempDir
 
27
# import system imports here
 
28
import os
 
29
import sys
 
30
 
 
31
#import bzrlib specific imports here
 
32
from bzrlib.selftest import TestCaseInTempDir
28
33
 
29
34
 
30
35
# Now we need a test script:
31
36
class DemoTest(TestCaseInTempDir):
32
37
 
33
38
    def test_nothing(self):
34
 
        self.assertEqual(1, 1)
 
39
        self.assertEqual(1,1)