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