/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_ignored.py

  • Committer: Parth Malwankar
  • Date: 2010-05-05 04:08:11 UTC
  • mfrom: (5205 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5216.
  • Revision ID: parth.malwankar@gmail.com-20100505040811-2th2a48s7wak2p9d
merged in changes from trunk and resolved conflict in builtins.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006 Canonical Ltd
 
1
# Copyright (C) 2006-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
38
38
        out, err = self.run_bzr('ignored')
39
39
        self.assertEqual('', out)
40
40
        self.assertEqual('', err)
 
41
 
 
42
    def test_ignored_directory(self):
 
43
        """Test --directory option"""
 
44
        tree = self.make_branch_and_tree('a')
 
45
        self.build_tree_contents([('a/README', 'contents'),
 
46
                                  ('a/.bzrignore', 'README')])
 
47
        out, err = self.run_bzr(['ignored', '--directory=a'])
 
48
        self.assertStartsWith(out, 'README')