def test_resolve_context_imports(): context = { '@import': 'https://prefix.cc/context', } resolved_context1 = ContextResolver( shared_cache={}, document_loader=_default_document_loader, ).resolve( active_ctx={}, context=context, base='test:', ) resolved_context2 = JsonLdProcessor().process_context( active_ctx={ 'mappings': {}, }, local_ctx=context, options={}, ) raise ValueError([resolved_context1, resolved_context2])