Exemple #1
0
 def test_init_form(self):
     oq = muc_xso.OwnerQuery(form=unittest.mock.sentinel.form)
     self.assertEqual(
         oq.form,
         unittest.mock.sentinel.form,
     )
Exemple #2
0
 def test_init_destroy(self):
     oq = muc_xso.OwnerQuery(destroy=unittest.mock.sentinel.destroy)
     self.assertEqual(
         oq.destroy,
         unittest.mock.sentinel.destroy,
     )
Exemple #3
0
 def test_init(self):
     oq = muc_xso.OwnerQuery()
     self.assertIsNone(oq.destroy)
     self.assertIsNone(oq.form)