def test_location_inaccurate_gps(self):
        self.send_message(LOCATION_TOPIC, LOCATION_MESSAGE)
        self.send_message(LOCATION_TOPIC, LOCATION_MESSAGE_INACCURATE)

        self.assert_location_latitude(2.0)
        self.assert_location_longitude(1.0)
Calculates the adjustments to the Position that occur
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/device_tracker/test_owntracks.py/TestDeviceTrackerOwnTracks.test_location_inaccurate_gps--crossover with--dataset/ETHPy150Open mhallsmoore/qstrader/position/position.py/Position.transact_shares