Separate out index name and unique constraint name generation in tests.

Review Request #8106 — Created April 8, 2016 and submitted — Latest diff uploaded

Information

Django Evolution
master
1984a29...

Reviewers

This updates the test utility functions and data to use separate
functions for computing index names vs. unique constraint names. We were
formerly generating the unique constraint names by passing default=False
to generate_index_name, but this isn't very clear, and isn't
future-proof. This change helps get us a step closer to the logic needed
for the Django 1.7+ port.

Unit tests pass for SQLite, MySQL, and Postgres.