MCPcopy Create free account
hub / github.com/airbnb/binaryalert / test_build

Method test_build

tests/cli/manager_test.py:58–61  ·  view source on GitHub ↗

Calls lambda_build function (tested elsewhere).

(self, mock_build: mock.MagicMock)

Source from the content-addressed store, hash-verified

56
57 @mock.patch.object(manager_module, 'lambda_build')
58 def test_build(self, mock_build: mock.MagicMock):
59 """Calls lambda_build function (tested elsewhere)."""
60 self.manager.build()
61 mock_build.assert_called_once()
62
63 def test_cb_copy_all_not_enabled(self):
64 """Raises InvalidConfigError if the downloader is not enabled."""

Callers

nothing calls this directly

Calls 1

buildMethod · 0.80

Tested by

no test coverage detected