mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-28 14:50:14 +03:00
RPM test improved accordingly
This commit is contained in:
parent
db1a82f930
commit
edead53d7e
@ -20,18 +20,18 @@
|
||||
import unittest
|
||||
|
||||
from util.rpm import (
|
||||
install_rpm
|
||||
, remove_rpm
|
||||
install_rpms
|
||||
, remove_rpms
|
||||
)
|
||||
|
||||
class RPMTestCase(unittest.TestCase):
|
||||
@unittest.skip('test_install_rpm is not unit test')
|
||||
def test_install_rpm(self):
|
||||
test_package_names = ['tortoisehg', 'csync']
|
||||
install_rpm(test_package_names, force=False, single_call=False)
|
||||
install_rpms(test_package_names)
|
||||
|
||||
@unittest.skip('test_remove_rpm is not unit test')
|
||||
def test_remove_rpm(self):
|
||||
test_package_names = ['tortoisehg', 'csync']
|
||||
util.rpm.remove_rpm(test_package_names, force=False, single_call=False)
|
||||
remove_rpms(test_package_names)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user