/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_api.py

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 04:39:02 UTC
  • mfrom: (6613.2.1 fix-gpl)
  • Revision ID: pqm@pqm.ubuntu.com-20160421043902-skyc5cmuqnh1b9la
(richard-wilbur) Update COPYING.txt from the original
 http://www.gnu.org/licenses/gpl-2.0.txt (Only differences were in
 whitespace.) Thanks to Petr Stodulka for pointing out the discrepancy.
 (Richard Wilbur)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
# Copyright (C) 2005-2009, 2016 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
30
30
 
31
31
    def test_library_version(self):
32
32
        """Library API version is exposed"""
33
 
        self.assert_(isinstance(bzrlib.__version__, str))
34
 
        self.assert_(isinstance(bzrlib.version_string, str))
35
 
        self.assert_(isinstance(bzrlib.version_info, tuple))
 
33
        self.assertTrue(isinstance(bzrlib.__version__, str))
 
34
        self.assertTrue(isinstance(bzrlib.version_string, str))
 
35
        self.assertTrue(isinstance(bzrlib.version_info, tuple))
36
36
        self.assertEqual(len(bzrlib.version_info), 5)
37
37
 
38
38