mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
modules.status.uptime unit test: mock on linux
This commit is contained in:
parent
2bc5dedd06
commit
094eac06eb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class StatusTestCase(TestCase):
|
|||
'''
|
||||
test modules.status functions
|
||||
'''
|
||||
|
||||
@patch('salt.utils.is_linux', MagicMock(return_value=True))
|
||||
def test_uptime(self):
|
||||
'''
|
||||
Test modules.status.uptime function, new version
|
||||
|
|
Loading…
Add table
Reference in a new issue