mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix tests for py3, enable tearDown
This commit is contained in:
parent
3cf4ac1475
commit
ae8ab2ab1a
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class RegTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
Reg state module tests
|
||||
These tests are destructive as the modify the registry
|
||||
'''
|
||||
def skip_tearDown(self):
|
||||
def tearDown(self):
|
||||
reg.delete_key_recursive(hive='HKLM',
|
||||
key=FAKE_KEY)
|
||||
reg.delete_key_recursive(hive='HKLM',
|
||||
|
@ -189,7 +189,7 @@ class RegTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
'vname': 'test_reg_binary',
|
||||
'success': True,
|
||||
'hive': 'HKLM',
|
||||
'vdata': test_data,
|
||||
'vdata': test_data.encode('utf-8'),
|
||||
'key': FAKE_KEY}
|
||||
self.assertEqual(ret, expected)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue