/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 breezy/tests/test_setup.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import sys
22
22
import subprocess
23
23
 
24
 
import bzrlib
25
 
from bzrlib import tests
 
24
import breezy
 
25
from breezy import tests
26
26
 
27
27
# TODO: Run bzr from the installed copy to see if it works.  Really we need to
28
28
# run something that exercises every module, just starting it may not detect
40
40
        """
41
41
        # setup.py must be run from the root source directory, but the tests
42
42
        # are not necessarily invoked from there
43
 
        self.source_dir = os.path.dirname(os.path.dirname(bzrlib.__file__))
 
43
        self.source_dir = os.path.dirname(os.path.dirname(breezy.__file__))
44
44
        if not os.path.isfile(os.path.join(self.source_dir, 'setup.py')):
45
45
            self.skip(
46
 
                'There is no setup.py file adjacent to the bzrlib directory')
 
46
                'There is no setup.py file adjacent to the breezy directory')
47
47
        try:
48
48
            import distutils.sysconfig
49
49
            makefile_path = distutils.sysconfig.get_makefile_filename()