'Migration files should be unique to avoid caching errors.
This test enforces migration files to include a prefix (expand,
migrate, contract) in order to keep them unique. Here is the required
format: [version]_[prefix]_[description]. For example:
001_expand_add_created_column.py'

def test_migrate_repos_file_names_have_prefix(self):

    versions_path = '/versions'
    expand_list = os.listdir((self.repos[EXPAND_REPO].repo_path + versions_path))
    self.assertRepoFileNamePrefix(expand_list, 'expand')
    migrate_list = os.listdir((self.repos[DATA_MIGRATION_REPO].repo_path + versions_path))
    self.assertRepoFileNamePrefix(migrate_list, 'migrate')
    contract_list = os.listdir((self.repos[CONTRACT_REPO].repo_path + versions_path))
    self.assertRepoFileNamePrefix(contract_list, 'contract')
