Beispiel #1
0
 def setUp(self) -> None:
     self.ctrl_voc_map, \
     self.prop_map, \
     self.form_map = setup.minimal_setup(self.ctrl_voc_endpoint,
                                         self.property_endpoint,
                                         self.form_endpoint,
                                         self.study_endpoint)
Beispiel #2
0
    def setUpClass(cls) -> None:
        super(StudyExceptionTestCase, cls).setUpClass()

        cls.ctrl_voc_map, cls.prop_map, cls.form_map = setup.minimal_setup(
            cls.ctrl_voc_endpoint,
            cls.property_endpoint,
            cls.form_endpoint,
            cls.study_endpoint,
        )
    def setUpClass(cls) -> None:
        super(TestCtrlVocStatic, cls).setUpClass()

        cls.ctrl_voc_map, cls.prop_map, cls.form_map = setup.minimal_setup(
            cls.ctrl_voc_endpoint,
            cls.property_endpoint,
            cls.form_endpoint,
            cls.study_endpoint,
        )
    def setUpClass(cls) -> None:
        super(FormReadTestCase, cls).setUpClass()

        cls.ctrl_voc_map, \
        cls.prop_map, \
        cls.form_map = setup.minimal_setup(cls.ctrl_voc_endpoint,
                                           cls.property_endpoint,
                                           cls.form_endpoint,
                                           cls.study_endpoint)
    def setUp(self) -> None:
        self.ctrl_voc_map, self.prop_map, self.form_map = setup.minimal_setup(
            self.ctrl_voc_endpoint, self.property_endpoint, self.form_endpoint,
            self.study_endpoint)

        self.ctrl_voc_map.update(
            setup.add_study_related_ctrl_voc(self.host, self.credentials))
        self.prop_map.update(
            setup.add_study_related_properties(self.host, self.credentials,
                                               self.ctrl_voc_map))
    def setUpClass(cls) -> None:
        super(TestCtrlVocStatic, cls).setUpClass()
        cls.route = "ctrl_voc"
        cls.url = urljoin(cls.host, cls.route)

        cls.ctrl_voc_map, \
        cls.prop_map, \
        cls.form_map = setup.minimal_setup(cls.ctrl_voc_endpoint,
                                           cls.property_endpoint,
                                           cls.form_endpoint,
                                           cls.study_endpoint)