~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Aaron Bentley
  • Date: 2005-11-10 15:30:24 UTC
  • mto: (147.4.24 trunk)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: aaron.bentley@utoronto.ca-20051110153024-47d369876a122ef0
Fixed test case

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
    >>> def printer(message): print message
348
348
    >>> import_version('/', version, printer, fancy=False, dry_run=True)
349
349
    Traceback (most recent call last):
350
 
    UserError: / exists, but is not a bzr branch.
 
350
    NotPreviousImport: / is not the location of a previous import.
351
351
    >>> import_version(result_path, version, printer, fancy=False, dry_run=True)
352
352
    Traceback (most recent call last):
353
353
    UserError: The version test@example.com/test--test--0.1 does not exist.