~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_bad_files.py

  • Committer: Robert Collins
  • Date: 2005-10-16 08:26:43 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016082643-a2300b765aea49b4
unify __contains__ for TransportStore classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""Tests being able to ignore mad filetypes.
19
19
"""
20
20
 
21
 
from bzrlib.tests import TestCaseInTempDir
 
21
from bzrlib.selftest import TestCaseInTempDir
22
22
from bzrlib.errors import BadFileKindError
23
23
import os
24
24
 
89
89
 
90
90
        # We should raise an error if we are adding a bogus file
91
91
        # Is there a way to test the actual error that should be raised?
92
 
        self.run_bzr('add', 'a-fifo', retcode=3)
 
92
        self.run_bzr('add', 'a-fifo', retcode=1)
93
93