1
"""Black-box tests for bzr version."""
4
from bzrlib.tests.blackbox import ExternalBase
6
class TestVersion(ExternalBase):
8
def test_version(self):
9
out = self.run_bzr("version")[0]
10
self.assertTrue(len(out) > 0)
11
self.assertEquals(1,out.count(bzrlib.__version__))
12
self.assertEquals(1,out.count("Using python interpreter:"))
13
self.assertEquals(1,out.count("Using python standard library:"))
14
self.assertEquals(1,out.count("Using bzrlib:"))
15
self.assertEquals(1,out.count("Using bazaar configuration:"))