universalcore / springboard

Bootstrap Universal Core applications easily
http://springboard.readthedocs.org/
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

get rid of assert_called_once #41

Closed Rizziepit closed 9 years ago

Rizziepit commented 9 years ago

@smn @nathanbegbie ready for review. Uh... yeah... this is totally my fault. My grepping tells me only springboard and unicore-cms are affected.

nathanbegbie commented 9 years ago

:+1:Any idea why those tests were passing on Github but failing locally?

Rizziepit commented 9 years ago

I suspect different versions of mock is the culprit. MagicMock probably behaves slightly differently (MagicMock is used as the mock object by default).