def test_is_empty(self):
        blank_obj = RowEntries()
        self.assertTrue(blank_obj.is_empty(),
                        "Default Row Entries is not blank")

        for attr in iterkeys(vars(_UserEntries())):
            obj = RowEntries()
            setattr(obj, attr, 1.0)
            self.assertFalse(obj.is_empty())
    def test_settings_attr_resets_state(self):
        observed_attrs = vars(_UserEntries())

        for observed_attr in iterkeys(observed_attrs):
            obj = RowEntries()
            obj.state = RowState.PROCESSED
            setattr(obj, observed_attr, "")

            self.assertEqual(
                RowState.UNPROCESSED, obj.state,
                "Row state did not reset for attr: {0}".format(observed_attr))