~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-05 08:10:39 UTC
  • mfrom: (4412.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090605081039-abvojdsxjbg5i4ff
(vila) Add cpu # detection for windows and Solaris

Show diffs side-by-side

added added

removed removed

Lines of Context:
1760
1760
    def test_os_readlink_link_decoding(self):
1761
1761
        self.assertEquals(self.target.encode(osutils._fs_enc),
1762
1762
                          os.readlink(self.link.encode(osutils._fs_enc)))
 
1763
 
 
1764
 
 
1765
class TestConcurrency(tests.TestCase):
 
1766
 
 
1767
    def test_local_concurrency(self):
 
1768
        concurrency = osutils.local_concurrency()
 
1769
        self.assertIsInstance(concurrency, int)