You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classTestOs:
deftest_getcwd(self):
withstubout(os, "getcwd") asm_getcwd, expect:
m_getcwd.to_be.called_with().and_return("/mox/path")
assertos.getcwd() =="/mox/path"# the following is an extra unexpected callassertos.getcwd() =="/mox/path"mox.verify(m_getcwd)
Right now, if we do that:
we get the following error:
we need to change it to be:
The text was updated successfully, but these errors were encountered: