Finish common again

This commit is contained in:
Tim Bentley 2017-12-09 16:37:26 +00:00
parent ac95f4e3ca
commit c25a446839
2 changed files with 3 additions and 4 deletions

View File

@ -177,12 +177,11 @@ class TestShutil(TestCase):
path = Path('test', 'path')
# WHEN: Calling :func:`openlp.core.common.path.rmtree` with the path parameter as Path object type
result = path.rmtree()
path.rmtree()
# THEN: :func:`shutil.rmtree` should have been called with the str equivalents of the Path object.
mocked_shutil_rmtree.assert_called_once_with(
os.path.join('test', 'path'), False, None)
assert not result
def test_rmtree_optional_params(self):
"""