def validate_state(self, columns, *state_table):
        current_state = object_list_to_table(
            columns, self.model.all())[1:]
        if not equal_lists(current_state, state_table):
            print("DB state not valid:")
            print("Current state:")
            print(columns)
            for state in current_state:
                print(state)
            print("Should be:")
            for state in state_table:
                print(state)
            self.fail("DB state not valid.")
Validates that the DB contains exactly the values given in the
dataset/ETHPy150Open django-nonrel/djangotoolbox/djangotoolbox/test.py/ModelTestCase.validate_state