~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-27 16:27:26 UTC
  • mto: This revision was merged to the branch mainline in revision 6449.
  • Revision ID: jelmer@samba.org-20120127162726-f3qlvm7xkfg460ck
Run subtree tests with development-subtree rather than deprecated dirstate-with-subtree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
418
418
        backing = self.get_transport()
419
419
        request = self._request_class(backing)
420
420
        result = self._make_repository_and_result(
421
 
            format='dirstate-with-subtree')
 
421
            format='development-subtree')
422
422
        # check the test will be valid
423
423
        self.assertEqual('yes', result.args[2])
424
424
        self.assertEqual('yes', result.args[3])
429
429
        backing = self.get_transport()
430
430
        request = self._request_class(backing)
431
431
        result = self._make_repository_and_result(
432
 
            format='dirstate-with-subtree')
 
432
            format='development-subtree')
433
433
        # check the test will be valid
434
 
        self.assertEqual('no', result.args[4])
 
434
        self.assertEqual('yes', result.args[4])
435
435
        self.assertEqual(result, request.execute(''))
436
436
 
437
437