Skip to content

Commit

Permalink
fixed spreadsheet mocker
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Oct 9, 2024
1 parent 260e568 commit 7a115bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ def mock_build(*args, **kwargs):
monkeypatch.setattr(
"vendor_file_cli.config.load_vendor_creds", mock_load_vendor_creds
)
monkeypatch.setattr("vendor_file_cli.validator.send_data_to_sheet", "foo")
monkeypatch.setattr("vendor_file_cli.validator.configure_sheet", mock_build)
monkeypatch.setattr("vendor_file_cli.validator.send_data_to_sheet", mock_build)
monkeypatch.setenv("USERPROFILE", "test")
monkeypatch.setattr("os.path.join", mock_path)
monkeypatch.setattr("googleapiclient.discovery.build", mock_build)
Expand Down

0 comments on commit 7a115bd

Please sign in to comment.