mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
7d022a3f39
1 changed files with 2 additions and 3 deletions
|
@ -63,11 +63,10 @@ class PkgModuleTest(integration.ModuleCase,
|
|||
try:
|
||||
repo = None
|
||||
if os_grain == 'Ubuntu':
|
||||
repo = 'ppa:silvenga/3proxy'
|
||||
uri = 'http://ppa.launchpad.net/silvenga/3proxy/ubuntu'
|
||||
repo = 'ppa:otto-kesselgulasch/gimp-edge'
|
||||
uri = 'http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu'
|
||||
ret = self.run_function('pkg.mod_repo', [repo, 'comps=main'])
|
||||
self.assertNotEqual(ret, {})
|
||||
self.assertIn('deb '+uri, ret.keys()[0])
|
||||
ret = self.run_function('pkg.get_repo', [repo])
|
||||
self.assertEqual(ret['uri'], uri)
|
||||
elif os_grain == 'CentOS':
|
||||
|
|
Loading…
Add table
Reference in a new issue