Skip to content

Add Workbook.set_mock_caller() method #129

@fzumstein

Description

@fzumstein

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()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions