blob: 2e282d6917f8ac44ee57f97c12cc647aa7d1a798 [file] [log] [blame]
def test_uncommited_changes(local_salt_client):
git_status = local_salt_client.cmd(
'salt:master',
'cmd.run',
['cd /srv/salt/reclass/classes/cluster/; git status'],
expr_form='pillar')
assert 'nothing to commit' in git_status.values()[0], 'Git status showed' \
' some unmerged changes {}'''.format(git_status.values()[0])