mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removed redundancies
This commit is contained in:
parent
91db411bea
commit
400a71ec33
1 changed files with 0 additions and 9 deletions
|
@ -88,9 +88,7 @@ class GemModuleTest(integration.ModuleCase):
|
|||
gem.sources_add
|
||||
gem.sources_remove
|
||||
'''
|
||||
sources_list = self.run_function('gem.sources_list')
|
||||
source = 'http://gems.github.com'
|
||||
self.assertNotIn(source, sources_list)
|
||||
|
||||
self.run_function('gem.sources_add', [source])
|
||||
sources_list = self.run_function('gem.sources_list')
|
||||
|
@ -100,13 +98,6 @@ class GemModuleTest(integration.ModuleCase):
|
|||
sources_list = self.run_function('gem.sources_list')
|
||||
self.assertNotIn(source, sources_list)
|
||||
|
||||
def test_sources_list(self):
|
||||
'''
|
||||
gem.sources_list
|
||||
'''
|
||||
ret = self.run_function('gem.sources_list')
|
||||
self.assertIn('https://rubygems.org/', ret)
|
||||
|
||||
def test_update(self):
|
||||
'''
|
||||
gem.update
|
||||
|
|
Loading…
Add table
Reference in a new issue