MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / assert_ok

Method assert_ok

tests/harness/train_tracks_github_test.py:107–108  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

105 return [json.loads(line) for line in self.calls.read_text().splitlines()] if self.calls.exists() else []
106
107 def assert_ok(self, result):
108 self.assertEqual(result.returncode, 0, result.stdout + result.stderr)
109
110 def test_sourcing_has_no_network_side_effects(self):
111 self.assert_ok(self.shell(":"))

Calls

no outgoing calls

Tested by

no test coverage detected