Oleksii Zhurba | c342221 | 2018-01-16 20:22:30 +0000 | [diff] [blame^] | 1 | def test_uncommited_changes(local_salt_client): |
2 | git_status = local_salt_client.cmd( | ||||
3 | 'salt:master', | ||||
4 | 'cmd.run', | ||||
5 | ['cd /srv/salt/reclass/classes/cluster/; git status'], | ||||
6 | expr_form='pillar') | ||||
7 | assert 'nothing to commit' in git_status.values()[0], 'Git status showed' \ | ||||
8 | ' some unmerged changes {}'''.format(git_status.values()[0]) |