blob: 2e282d6917f8ac44ee57f97c12cc647aa7d1a798 [file] [log] [blame]
Oleksii Zhurbac3422212018-01-16 20:22:30 +00001def 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])