~hazmat/charms/trusty/juju-gui/trunk

« back to all changes in this revision

Viewing changes to tests/deploy.py

  • Committer: Francesco Banconi
  • Date: 2014-01-22 09:09:01 UTC
  • mfrom: (60.13.77 juju-gui-trunk)
  • Revision ID: francesco.banconi@canonical.com-20140122090901-o89b944jb13kk1o9
New charm release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
)
34
34
 
35
35
 
36
 
rsync = command('rsync', '-a', '--exclude', '.bzr', '--exclude', '/tests')
 
36
rsync = command('rsync', '-a',
 
37
                '--exclude', '.git',
 
38
                '--exclude', '.bzr',
 
39
                '--exclude', '/tests')
37
40
 
38
41
 
39
42
def setup_repository(name, source, series='precise'):
40
43
    """Create a temporary Juju repository to use for charm deployment.
41
44
 
42
45
    Copy the charm files in source in the precise repository section, using the
43
 
    provided charm name and excluding the virtualenv and Bazaar directories.
 
46
    provided charm name and excluding the virtualenv and Git directories.
44
47
 
45
48
    Return the repository path.
46
49
    """