MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / setUp

Method setUp

test/crazyflie/test_localization.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36class LocalizationTest(unittest.TestCase):
37
38 def setUp(self):
39 self.cf_mock = MagicMock(spec=Crazyflie)
40 self.sut = Localization(crazyflie=self.cf_mock)
41
42 def test_that_lighthouse_persist_data_is_correctly_encoded(self):
43

Callers

nothing calls this directly

Calls 1

LocalizationClass · 0.90

Tested by

no test coverage detected