Skip to content

Commit

Permalink
modules.status.uptime unit test: mock on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jfindlay committed Oct 21, 2016
1 parent 2bc5ded commit 094eac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/modules/status_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 094eac0

Please sign in to comment.