def test_statement_none_qualifier(self): s = Statement('foo') s.add_qualifier(None) self.assertEquals(s.quals, []) s.add_qualifier(None, force=True) s.force = False
def test_statement_none_qualifier(self): s = Statement('foo') s.add_qualifier(None) self.assertEqual(s.quals, []) s.add_qualifier(None, force=True) s.force = False
def test_statement_inequality(self): s = Statement('novalue') s_special = Statement('novalue', special=True) s_force = Statement('novalue') s_force.force = True self.assertNotEquals(s, s_special) self.assertNotEquals(s, s_force) self.assertNotEquals(s_force, s_special)