Skip to content

Instantly share code, notes, and snippets.

@aconrad
Created March 27, 2014 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aconrad/9814372 to your computer and use it in GitHub Desktop.
Save aconrad/9814372 to your computer and use it in GitHub Desktop.
>>> # Dingus
>>> my_dingus = dingus.Dingus(some_attribute="value",
... some_method__returns="calculated value")
>>> assertEqual("calculated value", my_dingus.some_method())
>>> assertEqual("value", my_dingus.some_attribute)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment