def createDict(self):
        if self._details_dict:
            return self._details_dict

        self._details_dict = {}

        rsc_1 = Factory.RscFactory()

        self._details_dict['rsc_1'] = rsc_1

        return self._details_dict
Exemple #2
0
    def test_rst_relationship(self):
        rsc = Factory.RscFactory()
        rst = Factory.RstFactory(rsc=rsc)

        self.assertEquals(1, rsc.stages.count())