~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/test_baz_import.py

  • Committer: Aaron Bentley
  • Date: 2007-02-07 15:42:45 UTC
  • Revision ID: abentley@panoramicfeedback.com-20070207154245-q54nowe0tvjkeyid
Update test suite to reflect kind change support

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
        self.assertEqual(entry.kind, 'symlink')
460
460
        self.assertEqual(entry.symlink_target, 'missing-file-name')
461
461
 
462
 
        # current bzr doesn't handle type changes
463
 
        self.assertRaises(AssertionError, import_version, 'output3',
464
 
                          pybaz.Version(self._baz._import_symlink), None)
 
462
        # Test kind change for import
 
463
        import_version('output3', pybaz.Version(self._baz._import_symlink),
 
464
                       None)
465
465
 
466
466
    def test_missing_ancestor(self):
467
467
        import_version('output', pybaz.Version(self._baz._missing_ancestor),