Set dot-properties at runtime?
<p>I'm mocking up some data, and I need to be able to access properties via dot syntax in order to keep my runtime code in order. When I try to do the following, I get an error:</p>

<pre><code>mockdata = object()
mockdata.name = "Hello"
object_under_test.evaluate(mockdata)
</code></pre>

<p>How can I write Python code which will enable me to set attributes like this without having to create a class? </p>
