def test4(self): self.assertEquals(hmodels.get_history_parent(TestHistorySimple()), TestHistorySimple)
def test6(self): self.assertEquals(hmodels.get_history_parent('HistoricalTestHistorySimple', 'historical'), TestHistorySimple)
def test3(self): self.assertEquals(hmodels.get_history_parent(hmodels.get_model('historical', "HistoricalTestHistorySimple")()), TestHistorySimple)