equal
deleted
inserted
replaced
44 |
44 |
45 def setUp(self): |
45 def setUp(self): |
46 config = ApptestConfiguration('data') |
46 config = ApptestConfiguration('data') |
47 config.bootstrap_cubes() |
47 config.bootstrap_cubes() |
48 schema = config.load_schema() |
48 schema = config.load_schema() |
49 e_schema = schema.entity_schema('Person') |
49 e_schema = schema.eschema('Person') |
50 self.person_valgen = ValueGenerator(e_schema, self._choice_func) |
50 self.person_valgen = ValueGenerator(e_schema, self._choice_func) |
51 e_schema = schema.entity_schema('Bug') |
51 e_schema = schema.eschema('Bug') |
52 self.bug_valgen = MyValueGenerator(e_schema) |
52 self.bug_valgen = MyValueGenerator(e_schema) |
53 self.config = config |
53 self.config = config |
54 |
54 |
55 def _check_date(self, date): |
55 def _check_date(self, date): |
56 """checks that 'date' is well-formed""" |
56 """checks that 'date' is well-formed""" |