Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1030)

Unified Diff: tests/test_deploy.py

Issue 90220043: Use trusty as default target series.
Patch Set: Use trusty as default target series. Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/example.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_deploy.py
=== modified file 'tests/test_deploy.py'
--- tests/test_deploy.py 2014-01-16 19:25:52 +0000
+++ tests/test_deploy.py 2014-04-22 09:27:01 +0000
@@ -90,7 +90,7 @@
def test_repository(self):
# The charm repository is correctly created with the default series.
repo = setup_repository(self.name, self.source)
- self.check_repository(repo, 'precise')
+ self.check_repository(repo, 'trusty')
def test_series(self):
# The charm repository is created with the given series.
@@ -101,7 +101,7 @@
# The charm files are correctly copied inside the repository, excluding
# unwanted directories.
repo = setup_repository(self.name, self.source)
- charm_dir = os.path.join(repo, 'precise', self.name)
+ charm_dir = os.path.join(repo, 'trusty', self.name)
expected = set([
os.path.basename(self.root_file)
])
@@ -116,14 +116,14 @@
unit_info = {'public-address': 'unit.example.com'}
charm = 'test-charm'
- local_charm = 'local:precise/{}'.format(charm)
+ local_charm = 'local:trusty/{}'.format(charm)
@mock.patch('deploy.juju')
@mock.patch('deploy.wait_for_unit')
def call_deploy(
self, mock_wait_for_unit, mock_juju,
service_name=None, options=None, force_machine=None,
- charm_source=None, series='precise'):
+ charm_source=None, series='trusty'):
mock_wait_for_unit.return_value = self.unit_info
if charm_source is None:
expected_source = os.path.join(os.path.dirname(__file__), '..')
« no previous file with comments | « tests/example.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b