def test_delete_file(self, m1): """Test delete file works.""" from pybossa.jobs import delete_file delete_file('f', 'a') m1.assert_called_with('f', 'a')