Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 9, 2019 17:21
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 NMZivkovic/5d0f23c77a67e9c92a2c95c3c78ef62e to your computer and use it in GitHub Desktop.
Save NMZivkovic/5d0f23c77a67e9c92a2c95c3c78ef62e to your computer and use it in GitHub Desktop.
def test_fields(self):
m = mock.Mock()
m.rubiks = 'code'
self.assertEqual(m.rubiks, 'code')
m.configure_mock(tdd='rulez')
self.assertEqual(m.tdd, 'rulez')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment