~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-17 07:52:09 UTC
  • mfrom: (1910.3.4 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20060817075209-e85a1f9e05ff8b87
(andrew) Trivial fixes to NotImplemented errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004, 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006 by Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
17
17
 
18
18
"""Tests for versioning of bzrlib."""
19
19
 
20
 
from bzrlib import version, workingtree
 
20
from bzrlib import version
21
21
from bzrlib.tests import TestCase, TestSkipped
22
22
 
23
23
class TestBzrlibVersioning(TestCase):
32
32
        if src_tree is None:
33
33
            raise TestSkipped("bzr tests aren't run from a bzr working tree")
34
34
        else:
35
 
            # ensure that what we got was in fact a working tree instance.
36
 
            self.assertIsInstance(src_tree, workingtree.WorkingTree)
 
35
            source_version = src_tree.last_revision()