~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-05 14:08:19 UTC
  • mfrom: (4413 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4469.
  • Revision ID: john@arbash-meinel.com-20090605140819-s7mbsn5e4ifr9xub
Merge bzr.dev 4413, bringing in the no-delta-index code.

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)