Example #1
0
 def test_get_all_form_definitions_grouped_by_app_and_xmlns(self):
     self.assertEqual(
         [SimpleFormInfo(self.app._id, self.f1_xmlns),
          SimpleFormInfo(self.app._id, self.f2_xmlns),
          SimpleFormInfo(self.deleted_app._id, self.deleted_xmlns)],
         get_all_form_definitions_grouped_by_app_and_xmlns(self.domain)
     )
Example #2
0
 def test_get_all_form_definitions_grouped_by_app_and_xmlns(self):
     self.assertEqual(
         [SimpleFormInfo(self.app._id, self.f1_xmlns),
          SimpleFormInfo(self.app._id, self.f2_xmlns),
          SimpleFormInfo(self.deleted_app._id, self.deleted_xmlns)],
         get_all_form_definitions_grouped_by_app_and_xmlns(self.domain)
     )
Example #3
0
 def test_get_all_form_definitions_grouped_by_app_and_xmlns_no_data(self):
     self.assertEqual([], get_all_form_definitions_grouped_by_app_and_xmlns('missing'))
Example #4
0
 def _get_all_forms_grouped_by_app_and_xmlns(self):
     return get_all_form_definitions_grouped_by_app_and_xmlns(self.domain)
Example #5
0
 def test_get_all_form_definitions_grouped_by_app_and_xmlns_no_data(self):
     self.assertEqual([], get_all_form_definitions_grouped_by_app_and_xmlns('missing'))
Example #6
0
 def _get_all_forms_grouped_by_app_and_xmlns(self):
     return get_all_form_definitions_grouped_by_app_and_xmlns(self.domain)