Make a prettier table to display OT&E check results

We now display the results of each check in addition to the overall result.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=231051913
This commit is contained in:
gbrodman 2019-01-26 08:26:34 -08:00 committed by Ben McIlwain
parent c6e58d3bff
commit 5272d8ca7f
10 changed files with 182 additions and 105 deletions

View file

@ -28,7 +28,6 @@ import static google.registry.testing.DatastoreHelper.persistResource;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.googlecode.objectify.Key;
import google.registry.model.OteAccountBuilder;
import google.registry.model.OteStatsTestHelper;
import google.registry.model.contact.ContactAddress;
import google.registry.model.contact.ContactResource;
@ -65,9 +64,9 @@ public enum Fixture {
// Used for OT&E TLDs
persistPremiumList("default_sandbox_list");
OteAccountBuilder.forClientId("oteunfinished").addContact("email@example.com").buildAndPersist();
try {
OteStatsTestHelper.setupHistoryEntries("otefinished");
OteStatsTestHelper.setupCompleteOte("otefinished");
OteStatsTestHelper.setupIncompleteOte("oteunfinished");
} catch (IOException e) {
throw new RuntimeException(e);
}