def _get_sdk_updates(self, obj): return list( get_suggested_updates(SdkSetupState.from_event_json(obj.data)))
def test_too_old_django(): setup = SdkSetupState( sdk_name="sentry.python", sdk_version="0.9.0", integrations=[], modules={"django": "1.3"} ) assert list(get_suggested_updates(setup, PYTHON_INDEX_STATE)) == []
def test_too_old_django(): setup = SdkSetupState(sdk_name='sentry.python', sdk_version='0.9.0', integrations=[], modules={'django': '1.3'}) assert list(get_suggested_updates(setup, PYTHON_INDEX_STATE)) == []