Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Workbook.set_mock_caller() method #129

Closed
fzumstein opened this issue Jan 2, 2015 · 0 comments
Closed

Add Workbook.set_mock_caller() method #129

fzumstein opened this issue Jan 2, 2015 · 0 comments
Milestone

Comments

@fzumstein
Copy link
Member

Possibly wrap in something like Workbook.set_mock_caller(...):

def my_macro():
    wb = Workbook.caller()
    Range('A1').value = 1

if __name__ == '__main__':
    Workbook.set_mock_caller('/path/file.xlsm')

    my_macro()
@fzumstein fzumstein added the docs label Jan 2, 2015
@fzumstein fzumstein added this to the v0.3.1 milestone Jan 2, 2015
@fzumstein fzumstein changed the title Change debugging setup recommendation Add Workbook.mock_caller method Jan 2, 2015
@fzumstein fzumstein added enhancement and removed docs labels Jan 2, 2015
@fzumstein fzumstein changed the title Add Workbook.mock_caller method Add Workbook.set_mock_caller() method Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant