ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject git commit: AMBARI-5458. Repo validation for ubuntu fails (aonishuk)
Date Tue, 15 Apr 2014 13:02:05 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 998ac1168 -> 7e5604788


AMBARI-5458. Repo validation for ubuntu fails (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7e560478
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7e560478
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7e560478

Branch: refs/heads/trunk
Commit: 7e5604788899e25db97db36898f88f1d2333be7e
Parents: 998ac11
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Tue Apr 15 16:01:31 2014 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Tue Apr 15 16:01:56 2014 +0300

----------------------------------------------------------------------
 .../test/python/resource_management/TestRepositoryResource.py    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7e560478/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py b/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py
index 1aaa111..529a887 100644
--- a/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py
+++ b/ambari-agent/src/test/python/resource_management/TestRepositoryResource.py
@@ -110,7 +110,7 @@ gpgcheck=0""", template)
       template_content = template_item[1]['content'].get_content()
       
       self.assertEquals(template_name, '/tmp/1.txt')
-      self.assertEquals(template_content, 'deb http://download.base_url.org/rpm/ precise
a b c\n')
+      self.assertEquals(template_content, 'deb http://download.base_url.org/rpm/ a b c\n')
       
       copy_item = str(file_mock.call_args_list[1])
       self.assertEqual(copy_item, "call('/etc/apt/sources.list.d/HDP.list', content=StaticFile('/tmp/1.txt'))")
@@ -141,7 +141,7 @@ gpgcheck=0""", template)
       template_content = template_item[1]['content'].get_content()
       
       self.assertEquals(template_name, '/tmp/1.txt')
-      self.assertEquals(template_content, 'deb http://download.base_url.org/rpm/ precise
a b c\n')
+      self.assertEquals(template_content, 'deb http://download.base_url.org/rpm/ a b c\n')
       
       self.assertEqual(file_mock.call_count, 1)
       self.assertEqual(execute_mock.call_count, 0)


Mime
View raw message