Esempio n. 1
0
 def test4(self):
       self.assertEquals(hmodels.get_history_parent(TestHistorySimple()), TestHistorySimple)
Esempio n. 2
0
 def test6(self):
     self.assertEquals(hmodels.get_history_parent('HistoricalTestHistorySimple', 'historical'), TestHistorySimple)
Esempio n. 3
0
 def test3(self):
     self.assertEquals(hmodels.get_history_parent(hmodels.get_model('historical', "HistoricalTestHistorySimple")()), TestHistorySimple)