Created
March 9, 2019 17:21
-
-
Save NMZivkovic/5d0f23c77a67e9c92a2c95c3c78ef62e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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