extend test

This commit is contained in:
holger krekel 2014-03-26 19:37:49 +01:00
parent 84ab194516
commit bb0632c7ad
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ class TestMockDecoration:
abspath.return_value = "this"
os.path.normpath(os.path.abspath("hello"))
normpath.assert_any_call("this")
assert os.path.basename("123") == "mock_basename"
""")
reprec = testdir.inline_run()
reprec.assertoutcome(passed=2)

View File

@ -7,6 +7,7 @@ changedir=testing
commands= py.test --lsof -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
deps=
nose
mock
[testenv:genscript]
changedir=.