Typo fix s/cadidate/candidate/

Sorry :(

Change-Id: I4605c860d60c735c14f5f53f67e4dc74eeb0104b
This commit is contained in:
Tony Breeds 2019-01-15 08:34:35 +11:00
parent 921ece5f30
commit 488c68a80c

View File

@ -45,10 +45,10 @@ class TestFindModifiedCandidateFiles(base.ElectionTestCase):
def test_find_modified_candidate_files_all_good(self, mock_check_output):
check_output = (('configuration.yaml\n'
'openstack_election/__init__py\n'
'%(path)s/cadidate\n'
'%(path)s/candidate\n'
'%(path)s/.placeholder\n'
) % ({'path': utils.CANDIDATE_PATH})).encode('utf-8')
expected_filenames = ['%s/cadidate' % utils.CANDIDATE_PATH]
expected_filenames = ['%s/candidate' % utils.CANDIDATE_PATH]
mock_check_output.return_value = check_output
filenames = \
ci_check_all_candidate_files.find_modified_candidate_files()