Пример #1
0
 def _get_sdk_updates(self, obj):
     return list(
         get_suggested_updates(SdkSetupState.from_event_json(obj.data)))
Пример #2
0
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)) == []
Пример #3
0
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)) == []