extend test
This commit is contained in:
parent
84ab194516
commit
bb0632c7ad
|
@ -133,6 +133,7 @@ class TestMockDecoration:
|
||||||
abspath.return_value = "this"
|
abspath.return_value = "this"
|
||||||
os.path.normpath(os.path.abspath("hello"))
|
os.path.normpath(os.path.abspath("hello"))
|
||||||
normpath.assert_any_call("this")
|
normpath.assert_any_call("this")
|
||||||
|
assert os.path.basename("123") == "mock_basename"
|
||||||
""")
|
""")
|
||||||
reprec = testdir.inline_run()
|
reprec = testdir.inline_run()
|
||||||
reprec.assertoutcome(passed=2)
|
reprec.assertoutcome(passed=2)
|
||||||
|
|
Loading…
Reference in New Issue