~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: John Arbash Meinel
  • Date: 2011-03-08 11:55:15 UTC
  • mto: (4634.168.4 2.0)
  • mto: This revision was merged to the branch mainline in revision 5714.
  • Revision ID: john@arbash-meinel.com-20110308115515-qyci0hdb9s0g7bvb
Loosen the match a bit. Newer versions have StaticTuple.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1660
1660
            repo._pack_collection.all_packs(), '.test-pack')
1661
1661
        e = self.assertRaises(ValueError, packer.pack)
1662
1662
        packer.new_pack.abort()
1663
 
        self.assertEqual("We are missing inventories for revisions: [('A',)]",
1664
 
                         str(e))
 
1663
        self.assertContainsRe(str(e),
 
1664
            r"We are missing inventories for revisions: .*'A'")
1665
1665
 
1666
1666
 
1667
1667
class TestCrossFormatPacks(TestCaseWithTransport):