MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / DebugModeLocalVersionTest

Class DebugModeLocalVersionTest

app/version_test.py:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150
151class DebugModeLocalVersionTest(TestCase):
152
153 def test_local_version_returns_dummy_version_when_in_debug_mode(self):
154 # Enable debug mode.
155 with mock.patch.object(version, '_is_debug', return_value=True):
156 self.assertEqual('0.0.0-0+aaaaaaa', version.local_version())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected