~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/teststore.py

  • Committer: Robert Collins
  • Date: 2005-10-04 04:49:21 UTC
  • Revision ID: robertc@robertcollins.net-20051004044921-45fd2dc3f70abe59
remove debug print statement

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        store = get_compressed_store()
120
120
        test_ignore_get(self, store)
121
121
 
 
122
 
122
123
    def test_total_size(self):
123
124
        store = get_compressed_store('.')
124
125
        store.add(StringIO('goodbye'), '123123')
137
138
        self.assertEqual(store_a['1'].read(), 'foo')
138
139
        self.assertEqual(store_b['1'].read(), 'foo')
139
140
 
140
 
 
141
141
class TestMemoryStore(TestCase):
142
142
    
143
143
    def get_store(self):
176
176
        # store_c = RemoteStore('http://example.com/')
177
177
        # self.assertRaises(UnlistableStore, copy_all, store_c, store_b)
178
178
 
179
 
 
180
179
class TestTextStore(TestCaseInTempDir):
181
180
    def test_multiple_add(self):
182
181
        """Multiple add with same ID should raise a BzrError"""
191
190
        store = get_text_store()
192
191
        test_ignore_get(self, store)
193
192
 
 
193
 
194
194
    def test_copy_all(self):
195
195
        """Test copying"""
196
196
        os.mkdir('a')