derwiki-adroll / mock

Automatically exported from code.google.com/p/mock
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Dotted attributes on sentinel #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For some use-cases (multiple unique objects with similar attribute names) it 
could be useful to allow dotted attributes of sentinel objects.

{{{
foo = sentinel.foo
bar = sentinel.bar

assert foo.name is not bar.name
}}}

Original issue reported on code.google.com by fuzzyman on 24 Jan 2012 at 1:31