def test_init_form(self): oq = muc_xso.OwnerQuery(form=unittest.mock.sentinel.form) self.assertEqual( oq.form, unittest.mock.sentinel.form, )
def test_init_destroy(self): oq = muc_xso.OwnerQuery(destroy=unittest.mock.sentinel.destroy) self.assertEqual( oq.destroy, unittest.mock.sentinel.destroy, )
def test_init(self): oq = muc_xso.OwnerQuery() self.assertIsNone(oq.destroy) self.assertIsNone(oq.form)