devtools/fake.py
changeset 2471 3e2b50ece726
parent 2181 94ca417b9b07
child 2476 1294a6bdf3bf
equal deleted inserted replaced
2470:569d6641f08c 2471:3e2b50ece726
    47         return self.properties[key]
    47         return self.properties[key]
    48 
    48 
    49     _registries = {
    49     _registries = {
    50         'controllers' : [Mock(id='view'), Mock(id='login'),
    50         'controllers' : [Mock(id='view'), Mock(id='login'),
    51                          Mock(id='logout'), Mock(id='edit')],
    51                          Mock(id='logout'), Mock(id='edit')],
    52         'views' : [Mock(id='primary'), Mock(id='secondary'),
    52         'views' : [Mock(id='primary'), Mock(id='oneline'), Mock(id='list')],
    53                          Mock(id='oneline'), Mock(id='list')],
       
    54         }
    53         }
    55 
    54 
    56     def registry_objects(self, name, oid=None):
    55     def registry_objects(self, name, oid=None):
    57         return self._registries[name]
    56         return self._registries[name]
    58 
    57