~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_push.py

  • Committer: Joe Julian
  • Date: 2010-01-10 02:25:31 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: joe@julianfamily.org-20100110022531-wqk61rsagz8xsiga
Added MANIFEST.in to allow bdist_rpm to have all the required include files and tools. bdist_rpm will still fail to build correctly on some distributions due to a disttools bug http://bugs.python.org/issue644744

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007-2010 Canonical Ltd
 
1
# Copyright (C) 2007 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
30
30
        cmd = cmd_push()
31
31
        # We don't care about the ouput but 'outf' should be defined
32
32
        cmd.outf = tests.StringIOWrapper()
33
 
        cmd.run_direct(self.get_url('remote'), directory='branch')
 
33
        cmd.run(self.get_url('remote'), directory='branch')
34
34
        self.assertEquals(1, len(self.connections))
35
35
 
36
36
    def test_push_onto_stacked(self):
41
41
 
42
42
        cmd = cmd_push()
43
43
        cmd.outf = tests.StringIOWrapper()
44
 
        cmd.run_direct(self.get_url('remote'), directory='source',
 
44
        cmd.run(self.get_url('remote'), directory='source',
45
45
                stacked_on=self.get_url('base'))
46
46
        self.assertEqual(1, len(self.connections))